:root {
  --bg-dark: #090a10;
  --bg-card: rgba(18, 18, 28, 0.74);
  --bg-card-strong: rgba(12, 12, 20, 0.9);
  --bg-soft: rgba(255, 255, 255, 0.05);

  --border-soft: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(99, 239, 226, 0.2);

  --text-primary: #f5f7ff;
  --text-secondary: #c5cada;
  --text-muted: #9097ad;

  --accent: #69e0d8;
  --accent-hover: #82ebe3;
  --accent-purple: #8b5cf6;
  --accent-orange: #ff8a3d;

  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.28);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.18);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --transition: 0.28s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  padding: 16px;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-dark);
}

.page-background {
  position: fixed;
  inset: 0;
  background-image: url("../imagens/Fundo/fundo.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  z-index: -3;
}

.page-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 5, 10, 0.22) 0%, rgba(4, 5, 10, 0.58) 100%),
    radial-gradient(circle at top, rgba(124, 58, 237, 0.12), transparent 35%),
    radial-gradient(circle at bottom right, rgba(97, 247, 232, 0.08), transparent 25%);
  backdrop-filter: blur(3px);
  z-index: -2;
}

.page {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.profile-hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px 18px 22px;
  border-bottom: 1px solid var(--border-soft);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
}

.profile-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image {
  width: 100%;
  max-width: 270px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-bottom: 14px;
  padding: 0 14px;
  border: 1px solid rgba(105, 224, 216, 0.28);
  border-radius: 999px;
  background: rgba(105, 224, 216, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-name {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 700;
  color: var(--text-primary);
}

.profile-location {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.profile-meta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

.profile-meta-link:hover {
  transform: translateY(-2px);
  border-color: rgba(105, 224, 216, 0.28);
  background: rgba(105, 224, 216, 0.08);
  color: var(--text-primary);
}

.profile-summary {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
}

.profile-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), opacity var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #0d1117;
  background: linear-gradient(135deg, var(--accent), #a6f5ef);
  box-shadow: 0 12px 28px rgba(105, 224, 216, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), #b8faf5);
}

.btn-secondary {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
}

.btn-secondary:hover {
  border-color: rgba(139, 92, 246, 0.28);
  background: rgba(139, 92, 246, 0.08);
}

.tabs-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 14px 14px 0;
}

.tab-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 72px;
  padding: 10px 8px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.tab-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.tab-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.tab-button.active {
  background: linear-gradient(135deg, rgba(105, 224, 216, 0.14), rgba(139, 92, 246, 0.16));
  border-color: var(--border-strong);
  color: var(--text-primary);
  box-shadow: 0 10px 24px rgba(105, 224, 216, 0.08);
}

.tabs-content {
  padding: 18px 14px 16px;
}

.tab-panel {
  display: none;
  animation: fadeUp 0.34s ease;
}

.tab-panel.active {
  display: block;
}

.section-header {
  margin-bottom: 18px;
}

.section-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--text-primary);
}

.section-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.content-card {
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow-sm);
}

.content-card p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.85;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.inline-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.inline-link:hover {
  text-decoration: underline;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-sm);
}

.social-icon {
  width: 52px;
  min-width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon img {
  display: block;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.social-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.social-content strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  color: var(--text-primary);
}

.social-content span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Tamanhos individuais dos ícones */
.social-whatsapp .social-icon img {
  width: 38px;
  height: 38px;
}

.social-instagram .social-icon img {
  width: 34px;
  height: 34px;
}

.social-tiktok .social-icon img {
  width: 34px;
  height: 34px;
}

.social-twitter .social-icon img {
  width: 42px;
  height: 42px;
}

.social-youtube .social-icon img {
  width: 44px;
  height: 44px;
}

/* Hover por rede */
.social-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.35);
}

.social-instagram:hover {
  border-color: rgba(193, 53, 132, 0.35);
}

.social-tiktok:hover {
  border-color: rgba(105, 201, 208, 0.35);
}

.social-twitter:hover {
  border-color: rgba(29, 161, 242, 0.35);
}

.social-youtube:hover {
  border-color: rgba(255, 0, 0, 0.28);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Compatibilidade caso reste algo antigo */
.galeria {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.galeria a {
  display: block;
  overflow: hidden;
  border-radius: 14px;
}

.galeria img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.site-info {
  background-color: transparent;
}

.imagem-ampliada {
  display: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 480px) {
  body {
    padding: 20px;
  }

  .profile-card {
    max-width: 470px;
  }

  .gallery-grid,
  .galeria {
    gap: 12px;
  }

  .tabs-content {
    padding: 20px 16px 18px;
  }
}

@media (min-width: 768px) {
  body {
    padding: 32px 20px;
  }

  .profile-card {
    max-width: 860px;
  }

  .profile-hero {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 28px;
    padding: 26px;
  }

  .profile-info {
    align-items: flex-start;
    text-align: left;
  }

  .profile-meta {
    justify-content: flex-start;
  }

  .profile-actions {
    flex-direction: row;
  }

  .btn {
    width: auto;
    min-width: 200px;
  }

  .tabs-nav {
    grid-template-columns: repeat(4, max-content);
    justify-content: flex-start;
    gap: 12px;
    padding: 18px 20px 0;
  }

  .tab-button {
    min-width: 110px;
  }

  .tabs-content {
    padding: 24px 20px 22px;
  }

  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid,
  .galeria {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .profile-card {
    max-width: 980px;
  }

  .profile-hero {
    grid-template-columns: 280px 1fr;
    gap: 34px;
    padding: 34px;
  }

  .profile-image {
    max-width: 250px;
  }

  .profile-name {
    font-size: 3rem;
  }

  .profile-location {
    font-size: 1.08rem;
  }

  .profile-summary {
    max-width: 640px;
    font-size: 1rem;
  }

  .tabs-content {
    padding: 28px;
  }

  .gallery-grid,
  .galeria {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}