/* ============================
   FÁBRICA DE LAZER – style.css
   Paleta: Amarelo #FFD93D | Azul #4CC9F0 | Rosa #FF6B9D | Verde #6BCB77 | Roxo #9B72CF
   ============================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --amarelo: #FFD93D;
  --azul: #4CC9F0;
  --rosa: #FF6B9D;
  --verde: #6BCB77;
  --roxo: #9B72CF;
  --azul-escuro: #1E3A8A;
  --branco: #ffffff;
  --fundo: #FFFBF0;
  --texto: #2d2d2d;
  --cinza: #f5f5f5;

  --font-display: 'Baloo 2', cursive;
  --font-body: 'Nunito', sans-serif;
  --radius: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.18);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--fundo);
  color: var(--texto);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  background: rgba(255,251,240,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(255,217,61,0.2);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.10); }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: var(--azul-escuro);
}
.logo-icon { font-size: 1.8rem; animation: bounce 2s infinite; }
.logo-text strong { color: var(--rosa); }

.nav-links {
  display: flex; gap: 8px;
}
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--azul-escuro);
  padding: 8px 18px; border-radius: 50px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.nav-links a:hover {
  background: var(--amarelo); color: var(--azul-escuro);
  transform: translateY(-2px);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 3px;
  background: var(--azul-escuro); border-radius: 3px;
  transition: var(--transition);
}

/* ✅ CORRIGIDO: .open → .active para bater com o JS */
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--fundo); border-bottom: 2px solid var(--amarelo);
  flex-direction: column; padding: 16px 24px; gap: 8px; z-index: 999;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  color: var(--azul-escuro); padding: 12px 0;
  border-bottom: 1px solid rgba(255,217,61,0.3);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 14px 32px; border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--rosa); color: #fff;
  box-shadow: 0 4px 20px rgba(255,107,157,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(255,107,157,0.5);
  background: #ff4d8b;
}
.btn-outline {
  background: transparent; color: var(--branco);
  border: 3px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15); transform: translateY(-3px);
}
.btn-form {
  width: 100%; justify-content: center; font-size: 1.05rem;
  background: var(--amarelo); color: var(--azul-escuro);
  box-shadow: 0 4px 20px rgba(255,217,61,0.4);
}
.btn-form:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(255,217,61,0.5); }

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1E3A8A 0%, #4CC9F0 50%, #9B72CF 100%);
  overflow: hidden; padding-top: 80px;
}

.hero-bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute; font-size: 3rem;
  animation: floatBubble 6s ease-in-out infinite;
  opacity: 0.25;
}
.b1 { top: 10%; left: 8%; animation-delay: 0s; }
.b2 { top: 20%; right: 10%; animation-delay: 1s; }
.b3 { top: 60%; left: 5%; animation-delay: 2s; font-size: 2.5rem; }
.b4 { top: 40%; right: 5%; animation-delay: 0.5s; }
.b5 { bottom: 20%; left: 15%; animation-delay: 1.5s; }
.b6 { bottom: 15%; right: 15%; animation-delay: 3s; }

.hero-content {
  text-align: center; position: relative; z-index: 2;
  padding: 40px 24px; max-width: 780px;
  animation: fadeUp 0.8s ease both;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(8px);
  color: #fff; font-family: var(--font-display); font-weight: 600;
  font-size: 0.95rem; padding: 8px 24px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title {
  font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800; color: #fff; line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-brand {
  background: linear-gradient(90deg, var(--amarelo), var(--rosa));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: rgba(255,255,255,0.88); font-size: 1.1rem; line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
}
.hero-wave svg { display: block; width: 100%; }

/* ---- SECTIONS ---- */
.section { padding: 90px 0; position: relative; }

.section-label {
  display: inline-block;
  background: var(--amarelo); color: var(--azul-escuro);
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  padding: 6px 18px; border-radius: 50px;
  margin-bottom: 12px; letter-spacing: 0.03em;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--azul-escuro);
  margin-bottom: 14px; line-height: 1.2;
}
.section-sub {
  font-size: 1.05rem; color: #666; max-width: 560px;
  margin-bottom: 50px; line-height: 1.7;
}
.highlight { color: var(--azul); }
.highlight-pink { color: var(--rosa); }
.highlight-green { color: var(--verde); }

/* ---- SOBRE ---- */
.sobre-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.sobre-text p { font-size: 1.05rem; line-height: 1.8; color: #555; margin-bottom: 18px; }
.sobre-text strong { color: var(--rosa); }

.sobre-stats {
  display: flex; gap: 20px; margin-top: 28px; flex-wrap: wrap;
}
.stat-item {
  background: #fff; border-radius: 16px; padding: 18px 22px;
  box-shadow: var(--shadow); text-align: center; flex: 1; min-width: 100px;
  border-top: 4px solid var(--amarelo);
  transition: transform var(--transition);
}
.stat-item:hover { transform: translateY(-4px); }
.stat-num {
  display: block; font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 800; color: var(--rosa);
}
.stat-label { font-size: 0.8rem; color: #888; font-weight: 600; }

.sobre-visual { position: relative; }
.sobre-card-img {
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.sobre-card-img img { width: 100%; height: auto; display: block; }

.sobre-deco {
  position: absolute; font-size: 2.5rem;
  animation: floatBubble 4s ease-in-out infinite;
}
.deco1 { top: -20px; right: -20px; animation-delay: 0.5s; }
.deco2 { bottom: -15px; left: -15px; animation-delay: 1s; font-size: 2rem; }

/* ---- SERVIÇOS ---- */
.servicos { background: var(--fundo); }
.wavy-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(76,201,240,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(255,107,157,0.08) 0%, transparent 60%);
}
.servicos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.servico-card {
  background: #fff; border-radius: var(--radius); padding: 32px 24px;
  box-shadow: var(--shadow); cursor: default;
  border-top: 5px solid var(--card-color);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.servico-card::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--card-color); opacity: 0.08;
  transform: translate(30%, 30%);
}
.servico-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.servico-icon { font-size: 2.8rem; margin-bottom: 16px; }
.servico-card h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
  color: var(--azul-escuro); margin-bottom: 10px;
}
.servico-card p { font-size: 0.95rem; color: #666; line-height: 1.7; }

/* ---- GALERIA / CARROSSEL ---- */
.galeria { background: #fff; }

.carousel-wrapper {
  display: flex; align-items: center; gap: 16px; position: relative;
}

.carousel-track-container {
  overflow: hidden; flex: 1; border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.carousel-slide {
  min-width: 100%;
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

/* ✅ ADICIONADO: estilo para imagens reais da galeria */
.gallery-img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  display: block;
  background: #f5f5f5;
}

.slide-caption {
  background: #fff; padding: 12px 16px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.95rem; color: var(--azul-escuro);
  text-align: center;
}

.carousel-btn {
  background: var(--azul-escuro); color: #fff;
  border: none; border-radius: 50%; width: 48px; height: 48px;
  font-size: 1.5rem; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: background var(--transition), transform var(--transition);
}
.carousel-btn:hover { background: var(--rosa); transform: scale(1.08); }

.carousel-dots {
  display: flex; gap: 8px; justify-content: center; margin-top: 20px;
}
/* ✅ CORRIGIDO: .dot → .carousel-dot para bater com o JS */
.carousel-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ddd; border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active { background: var(--rosa); transform: scale(1.3); }

/* ---- CONTATO ---- */
.contato {
  background: linear-gradient(135deg, #1E3A8A 0%, #4CC9F0 70%, #9B72CF 100%);
  position: relative; overflow: hidden;
}
.contato::after {
  content: '🎉🎈⭐🎨🧩🎊';
  position: absolute; font-size: 5rem; opacity: 0.05;
  top: 20%; left: 5%; letter-spacing: 40px;
  white-space: nowrap; pointer-events: none;
}
.contato-wave { position: absolute; top: -1px; left: 0; right: 0; }
.contato-wave svg { display: block; width: 100%; }

.contato .section-label { margin-top: 40px; }

.contato-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 50px;
}

.contato-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius); padding: 22px 24px;
  color: #fff; transition: transform var(--transition), background var(--transition);
  cursor: pointer;
}
.contato-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.22); }

.contato-card.whatsapp:hover { border-color: #25D366; }
.contato-card.instagram:hover { border-color: #E1306C; }
.contato-card.tiktok:hover { border-color: #ff0050; }

.contato-card-icon {
  background: rgba(255,255,255,0.18); border-radius: 14px;
  padding: 12px; flex-shrink: 0;
}
.contato-card-text { flex: 1; }
.contato-card-text strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; }
.contato-card-text span { font-size: 0.85rem; opacity: 0.8; }
.contato-arrow { font-size: 1.2rem; opacity: 0.6; }

.contato-form-wrapper {
  background: rgba(255,255,255,0.12); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px; padding: 40px;
}
.contato-form-wrapper h3 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  color: #fff; margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label {
  font-weight: 700; font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px; padding: 14px 18px;
  color: #fff; font-family: var(--font-body); font-size: 0.95rem;
  outline: none; transition: border-color var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.5); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--amarelo); }

.form-success {
  display: none; background: rgba(107,203,119,0.25);
  border: 2px solid var(--verde); border-radius: 12px;
  padding: 16px 24px; color: #fff; font-weight: 700;
  font-family: var(--font-display); font-size: 1rem;
  margin-top: 16px; text-align: center;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--azul-escuro); color: rgba(255,255,255,0.85);
  text-align: center; padding: 40px 24px;
}
.footer-content { max-width: 600px; margin: 0 auto; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.footer-logo .logo-icon { font-size: 1.8rem; }
.footer-logo .logo-text { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: #fff; }
.footer-tagline { font-size: 0.95rem; margin-bottom: 20px; opacity: 0.75; }
.footer-social {
  display: flex; gap: 12px; justify-content: center; margin-bottom: 20px;
}
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.social-btn:hover { transform: translateY(-3px) scale(1.1); }
.social-btn.wpp { background: #25D366; }
.social-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.tt { background: #010101; }
.footer-copy { font-size: 0.82rem; opacity: 0.5; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 2000;
  background: #25D366; color: #fff;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse 3s ease infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37,211,102,0.6);
}

/* ---- ANIMATIONS ---- */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes floatBubble {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.8), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
  .contato-grid { grid-template-columns: 1fr; }
  .carousel-slide { min-width: calc(50%); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .navbar { padding: 14px 20px; }

  .hero-title { font-size: 2rem; }
  .section { padding: 60px 0; }
  .servicos-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .carousel-slide { min-width: 100%; }
  .contato-form-wrapper { padding: 24px; }  
  .hero-btns { flex-direction: column; align-items: center;}
  .stat-num { font-size: 1.2rem;}
}

