/* ============================================
   VARIÁVEIS & RESET
============================================ */
:root {
  --bg-start:      #0a0a0f;
  --bg-end:        #12101c;
  --surface:       rgba(255,255,255,0.6);
  --surface-hover: rgba(255,255,255,0.75);
  --border:        rgba(0,0,0,0.12);
  --border-hover:  rgba(0,0,0,0.25);
  --accent:        #c0392b;
  --accent-light:  #e74c3c;
  --accent-glow:   rgba(192,57,43,0.25);
  --text-primary:  #1a1a1a;
  --text-muted:    rgba(30,30,30,0.6);
  --radius-lg:     18px;
  --radius-xl:     26px;
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: 'DM Sans', sans-serif;
  background: transparent;
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Wallpaper background */
body .bg-wallpaper {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: url("bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.85) saturate(0.9);
}

body .bg-wallpaper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* controla a intensidade */
  z-index: 1;
}

/* ============================================
   FUNDO COM MALHA DE GRADIENTE + NOISE
============================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(192,57,43,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(130,90,200,0.07) 0%, transparent 60%),
    linear-gradient(160deg, rgba(10,10,15,0.15) 0%, rgba(18,16,28,0.15) 100%);
  z-index: -2;
  pointer-events: none;
}

/* grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* ============================================
   WRAPPER PRINCIPAL
============================================ */
.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* ============================================
   ANIMAÇÃO DE ENTRADA (stagger)
============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate {
  opacity: 0;
  animation: fadeUp 0.7s var(--transition) forwards;
}
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.25s; }
.d4 { animation-delay: 0.35s; }
.d5 { animation-delay: 0.45s; }
.d6 { animation-delay: 0.55s; }
.d7 { animation-delay: 0.65s; }

/* ============================================
   HERO
============================================ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.avatar-wrap {
  position: relative;
  width: 108px;
  height: 108px;
}

@keyframes pulse-ring {
  0%   { transform: scale(1);    opacity: 0.6; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

.avatar-wrap::before,
.avatar-wrap::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  animation: pulse-ring 2.6s ease-out infinite;
}
.avatar-wrap::after { animation-delay: 1.3s; }

.avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  background: linear-gradient(135deg, #cc0000 30%, #8B0000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,0.50), rgba(255,255,255,0.52));
  border: 1px solid rgba(192,57,43,0.35);
  color: green;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.hero-name {
  font-family: "Lucida Handwriting", "Brush Script MT", cursive;
  font-size: clamp(30px, 8vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, #ffffff 100%);
  color: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

/* ============================================
   DIVISOR DECORATIVO
============================================ */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.divider-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ============================================
   SEÇÃO TÍTULO
============================================ */
.section-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
}
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

/* ============================================
   BOTÃO GALERIA (link especial)
============================================ */
.gallery-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.08));
  border: 1px solid rgba(192,57,43,0.3);
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.gallery-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transition: left 0.6s ease;
}
.gallery-btn:hover::before { left: 140%; }

.gallery-btn:hover {
  background: linear-gradient(135deg, rgba(192,57,43,0.18), rgba(130,90,200,0.14));
  border-color: rgba(192,57,43,0.6);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 32px rgba(192,57,43,0.18);
}

.gallery-btn-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(192,57,43,0.2), rgba(130,90,200,0.15));
  border: 1px solid rgba(192,57,43,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: var(--transition);
}
.gallery-btn:hover .gallery-btn-icon {
  transform: scale(1.1) rotate(-5deg);
}

.gallery-btn-text { flex: 1; }
.gallery-btn-label {
  display: block;
  font-weight: 700;
  font-size: 20px;
  color: white;
  font-style: italic;
}
.gallery-btn-sub {
  display: block;
  font-size: 12px;
  color: white;
  margin-top: 2px;
}

/* Prévia de miniaturas dentro do botão */
.gallery-btn-previews {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.gallery-btn-previews span {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.gallery-btn-arrow {
  font-size: 13px;
  color: var(--accent);
  transition: var(--transition);
  flex-shrink: 0;
}
.gallery-btn:hover .gallery-btn-arrow { transform: translateX(4px); }

/* ============================================
   REDES SOCIAIS
============================================ */
.socials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.social-card-wide { grid-column: span 2; }

.social-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), transparent);
  opacity: 0;
  transition: var(--transition);
}
.social-card:hover::before { opacity: 1; }
.social-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.35); }

.social-card-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: var(--transition);
}
.social-card:hover .social-card-icon { transform: scale(1.1) rotate(-5deg); }

.social-card-info { flex: 1; }
.social-card-name   { font-size: 14px; font-weight: 600; display: block; }
.social-card-handle { font-size: 12px; color: var(--text-muted); display: block; margin-top: 2px; }
.social-card-followers { font-size: 11px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.social-card-arrow { font-size: 11px; color: var(--text-muted); transition: var(--transition); }
.social-card:hover .social-card-arrow { transform: translateX(3px); }

.sc-insta    { background: rgba(225,48,108,0.12);  color: #e1306c; }
.sc-insta-border:hover    { border-color: rgba(225,48,108,0.4);   box-shadow: 0 10px 28px rgba(225,48,108,0.1); }
.sc-youtube  { background: rgba(255,0,0,0.12);      color: #ff4444; }
.sc-youtube-border:hover  { border-color: rgba(255,0,0,0.35);     box-shadow: 0 10px 28px rgba(255,0,0,0.1); }
.sc-tiktok   { background: rgba(255,255,255,0.1);   color: #fff; }
.sc-tiktok-border:hover   { border-color: rgba(255,255,255,0.3);  box-shadow: 0 10px 28px rgba(255,255,255,0.05); }
.sc-telegram { background: rgba(0,136,204,0.15);    color: #29abe2; }
.sc-telegram-border:hover { border-color: rgba(0,136,204,0.4);   box-shadow: 0 10px 28px rgba(0,136,204,0.1); }
.sc-linkedin { background: rgba(10,102,194,0.15);   color: #0a66c2; }
.sc-linkedin-border:hover { border-color: rgba(10,102,194,0.4);  box-shadow: 0 10px 28px rgba(10,102,194,0.1); }
.sc-twitter  { background: rgba(29,161,242,0.12);   color: #1da1f2; }
.sc-twitter-border:hover  { border-color: rgba(29,161,242,0.4);  box-shadow: 0 10px 28px rgba(29,161,242,0.1); }
.sc-facebook { background: rgba(24,119,242,0.12);   color: #1877f2; }
.sc-facebook-border:hover { border-color: rgba(24,119,242,0.4);  box-shadow: 0 10px 28px rgba(24,119,242,0.1); }
.sc-whats    { background: rgba(37,211,102,0.12);   color: #25d366; }
.sc-whats-border:hover    { border-color: rgba(37,211,102,0.4);  box-shadow: 0 10px 28px rgba(37,211,102,0.1); }

/* ============================================
   GRID DE CARDS DE CURSO
============================================ */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.course-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.course-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--border-hover);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.card-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  position: relative;
  overflow: hidden;
}

.card-cover {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  z-index: 0;
}
.course-card:hover .card-cover { transform: scale(1.07); }

.card-thumb.has-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.card-thumb .thumb-emoji { position: relative; z-index: 2; }
.card-thumb.has-cover .thumb-emoji { display: none; }
.card-thumb .card-level { z-index: 3; }

.thumb-1 { background: linear-gradient(135deg, #1a1030, #3d1f6e); }
.thumb-2 { background: linear-gradient(135deg, #0d2240, #1a5276); }
.thumb-3 { background: linear-gradient(135deg, #0d2e1a, #1a6b3a); }
.thumb-4 { background: linear-gradient(135deg, #2e1a0d, #6b3a1a); }
.thumb-5 { background: linear-gradient(135deg, #2e0d1a, #6b1a3a); }
.thumb-6 { background: linear-gradient(135deg, #1a2e0d, #3a6b1a); }
.thumb-7 { background: linear-gradient(135deg, #0d1a2e, #1a3a6b); }
.thumb-8 { background: linear-gradient(135deg, #2a1a00, #6b4f00); }

.card-thumb:not(.has-cover)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08), transparent 70%);
  opacity: 0;
  transition: var(--transition);
}
.course-card:hover .card-thumb:not(.has-cover)::after { opacity: 1; }

.card-level {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
}
.level-init  { background: rgba(76,255,145,0.15);  color: #4cff91; border: 1px solid rgba(76,255,145,0.3); }
.level-inter { background: rgba(255,200,50,0.15);   color: #ffc832; border: 1px solid rgba(255,200,50,0.3); }
.level-adv   { background: rgba(255,80,80,0.15);    color: #ff6060; border: 1px solid rgba(255,80,80,0.3); }

.card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card-title { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--text-primary); }

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}
.card-meta i { font-size: 10px; }

.card-price { font-size: 13px; font-weight: 700; color: var(--accent); margin-top: auto; padding-top: 6px; }
.card-price .old-price {
  font-size: 10px; font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 4px;
}

/* ============================================
   BOTÃO SOBRE MIM
============================================ */
.sobre-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.08));
  border: 1px solid rgba(192,57,43,0.3);
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
}

.sobre-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transition: left 0.6s ease;
}
.sobre-btn:hover::before { left: 140%; }

.sobre-btn:hover {
  background: linear-gradient(135deg, rgba(192,57,43,0.18), rgba(192,57,43,0.14));
  border-color: rgba(192,57,43,0.6);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 32px rgba(192,57,43,0.18);
}

.sobre-btn-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(192,57,43,0.2), rgba(192,57,43,0.15));
  border: 1px solid rgba(192,57,43,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: var(--transition);
}
.sobre-btn:hover .sobre-btn-icon { transform: scale(1.1) rotate(-5deg); }

.sobre-btn-text { flex: 1; }
.sobre-btn-label { display: block; font-weight: 700; font-size: 20px; color: white; font-style:italic; }
.sobre-btn-sub   { display: block; font-size: 12px; color: white; margin-top: 2px; }
.sobre-btn-arrow { font-size: 13px; color: var(--accent); transition: var(--transition); flex-shrink: 0; }
.sobre-btn:hover .sobre-btn-arrow { transform: translateX(4px); }

/* ============================================
   MODAL SOBRE MIM
============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-sheet {
  background: linear-gradient(160deg, #15121f, #1a1520);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 26px 26px 0 0;
  padding: 32px 28px 48px;
  max-width: 480px;
  width: 100%;
  transform: translateY(60px);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.modal-overlay.open .modal-sheet {
  transform: translateY(0);
}

.modal-handle {
  width: 44px; height: 4px;
  border-radius: 100px;
  background: var(--border-hover);
  margin: 0 auto 24px;
}

.modal-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}
.modal-close:hover { background: var(--border); color: var(--text-primary); }

.modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.modal-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 16px var(--accent-glow);
}
.modal-avatar img { width: 100%; height: 100%; object-fit: cover; }

.modal-name {
  font-family: "Lucida Handwriting", "Brush Script MT", cursive;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #cc0000 30%, #8B0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.modal-sub {
  font-size: 12px;
  color: white;
  margin-top: 3px;
}

.modal-body p {
  font-size: 14.5px;
  font-weight: 300;
  color: rgba(240,237,232,0.75);
  line-height: 1.75;
}

.modal-deco {
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  margin: 18px 0;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-copy {
  font-size: 11.5px;
  color: WHITE;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ============================================
   RESPONSIVIDADE
============================================ */
@media (max-width: 400px) {
  .page { padding: 36px 16px 48px; }
  .hero-name { font-size: 28px; }
  .courses-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-thumb { height: 140px; }
}

