/* Estilos específicos da página Social */
/* O layout base (header, footer, etc.) vem de style.css */

#social.social-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Bloco principal em papel de carta (texto + fotos Instagram) */
.social-texto {
  position: relative;
  background: linear-gradient(145deg, #fdf8f3 0%, #f9f2ea 50%, #fdf8f3 100%);
  padding: 40px 36px 32px;
  border-radius: 32px;
  box-shadow:
    0 20px 60px rgba(139, 90, 43, 0.18),
    inset 0 2px 8px rgba(255, 255, 255, 0.9),
    inset 0 -2px 8px rgba(139, 90, 43, 0.06);
  border: 1px solid rgba(139, 90, 43, 0.28);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

/* risco marrom 3D no topo */
.social-texto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #8b5a2b 15%,
    rgba(139,90,43,0.9) 50%,
    #8b5a2b 85%,
    transparent 100%
  );
  border-radius: 32px 32px 0 0;
}

/* linha suave embaixo */
.social-texto::after {
  content: '';
  position: absolute;
  bottom: 22px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: rgba(139, 90, 43, 0.25);
}

/* selo e títulos */
.social-selo {
  display: inline-block;
  padding: 9px 18px;
  background: rgba(139, 90, 43, 0.12);
  color: #8b5a2b;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 22px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid rgba(139, 90, 43, 0.22);
}

.social-texto h2 {
  color: #8b5a2b;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.social-texto p {
  font-size: 17px;
  line-height: 1.8;
  color: #5a3b24;
  margin-bottom: 22px;
  font-weight: 400;
}

/* Fotos Instagram DENTRO do papel de carta - MAIORES */
.social-instagram-polaroids {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 14px;
  margin: 32px 0 0 0;
  padding: 24px 0 0 0;
  border-top: 1px solid rgba(139, 90, 43, 0.18);
}

.social-instagram-polaroids a {
  display: block;
}

.social-instagram-polaroids img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(139, 90, 43, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}

.social-instagram-polaroids img:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 32px rgba(139, 90, 43, 0.4);
}

/* YouTube com papel separado */
.social-youtube {
  background: linear-gradient(145deg, #fdf8f3 0%, #f9f2ea 50%, #fdf8f3 100%);
  padding: 32px 28px;
  border-radius: 28px;
  box-shadow:
    0 18px 50px rgba(139, 90, 43, 0.16),
    inset 0 2px 6px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(139, 90, 43, 0.25);
  text-align: center;
}

.social-youtube h3 {
  color: #8b5a2b;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.youtube-video iframe {
  width: 100%;
  max-width: 400px;
  height: 225px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(139, 90, 43, 0.25);
  border: none;
}

.youtube-chamada {
  margin-top: 18px;
}

/* BOTÕES DELICADOS */
.btn-youtube,
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  margin: 6px;
}

/* Instagram em marrom */
.btn-instagram {
  background: rgba(139, 90, 43, 0.12);
  color: #8b5a2b;
  border: 2px solid rgba(139, 90, 43, 0.3);
  box-shadow: 0 4px 16px rgba(139, 90, 43, 0.2);
}

.btn-instagram:hover {
  background: rgba(139, 90, 43, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 90, 43, 0.35);
}

/* YouTube continua em vermelho para reconhecimento */
.btn-youtube {
  background: rgba(255, 0, 0, 0.1);
  color: #c00;
  border: 2px solid rgba(255, 0, 0, 0.3);
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.15);
}

.btn-youtube:hover {
  background: rgba(255, 0, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.3);
}

.social-chamada {
  text-align: center;
  margin-top: 12px;
}

.social-chamada p {
  margin: 0;
}

/* Responsivo */
@media (max-width: 768px) {
  .social-instagram-polaroids {
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
    gap: 12px;
  }
  
  .social-instagram-polaroids img {
    height: 85px;
  }
  
  .youtube-video iframe {
    height: 200px;
  }
  
  .btn-youtube,
  .btn-instagram {
    display: block;
    margin: 8px auto;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .social-texto {
    padding: 28px 24px 24px;
  }
  
  .social-youtube {
    padding: 24px 20px;
  }
}
