/* ==============================
   ALÊ DECORAÇÕES — STYLE.CSS v2
   ============================== */

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

:root {
  --wpp:       #25d366;
  --wpp-dk:    #128c7e;
  --pink:      #e91e8c;
  --pink-dk:   #b5156c;
  --purple:    #7c3aed;
  --dark:      #0f0a1e;
  --dark2:     #17102a;
  --card:      #1e1535;
  --text:      #f0e6ff;
  --muted:     #b8a8d0;
  --yellow:    #ffd600;
  --radius:    16px;
  --font:      'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
svg { flex-shrink: 0; }

/* ── ALERT BAR ── */
#alert-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: linear-gradient(90deg, #b5156c 0%, #e91e8c 50%, #b5156c 100%);
  background-size: 200% 100%;
  animation: barSlide 3s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  flex-wrap: wrap;
  line-height: 1.4;
}

@keyframes barSlide {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.alert-icon { font-size: 1.1rem; }
.alert-sep  { opacity: 0.5; margin: 0 4px; }

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: var(--alert-h, 42px); left: 0; right: 0;
  z-index: 1000;
  padding: 10px 0;
  transition: background 0.3s, box-shadow 0.3s, top 0.1s;
}

#navbar.scrolled {
  background: rgba(15,10,30,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#logo { height: 56px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)); }

#nav-wpp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--wpp), var(--wpp-dk));
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

#nav-wpp svg { width: 16px; height: 16px; }
#nav-wpp:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.55); }

/* ── HERO ── */
#hero {
  padding-top: calc(var(--alert-h, 42px) + var(--nav-h, 76px) + 50px);
  padding-bottom: 70px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(124,58,237,.28) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(232,30,140,.22) 0%, transparent 50%),
    linear-gradient(160deg, #0f0a1e 0%, #1a1030 100%);
}

#hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 14px;
}

#hero h1 span {
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#hero p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 34px;
  font-weight: 500;
}

/* ── BUTTONS ── */
.btn-wpp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--wpp), var(--wpp-dk));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 50px;
  box-shadow: 0 6px 22px rgba(37,211,102,.42);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  border: none;
  cursor: pointer;
}

.btn-wpp svg { width: 20px; height: 20px; }
.btn-wpp:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,.6); filter: brightness(1.07); }
.btn-wpp:active { transform: translateY(-1px); }

.btn-wpp.big {
  font-size: 1.1rem;
  padding: 17px 36px;
}

.btn-wpp.pulse {
  animation: wppPulse 2.5s ease-in-out infinite;
}

@keyframes wppPulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(37,211,102,.42); }
  50% { box-shadow: 0 10px 40px rgba(37,211,102,.72); }
}

/* ── GALERIA ── */
#galeria {
  padding: 70px 0 60px;
  background: var(--dark2);
  text-align: center;
}

.section-label {
  display: inline-block;
  background: rgba(232,30,140,.15);
  border: 1px solid rgba(232,30,140,.35);
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

#galeria h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 36px;
}

/* CAROUSEL */
.carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 16px 60px rgba(0,0,0,.55);
  touch-action: pan-y;
  user-select: none;
}

.carousel-track {
  display: flex;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.slide {
  min-width: 100%;
  position: relative;
  background: var(--card);
  aspect-ratio: 4/3;
  overflow: hidden;
}

/* Responsive aspect ratio for mobile */
@media (max-width: 600px) {
  .slide { aspect-ratio: 1/1; }
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

.slide span {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(15,10,30,.82);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(232,30,140,.35);
}

/* carousel controls */
.c-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15,10,30,.75);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(232,30,140,.45);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  z-index: 10;
  line-height: 1;
}

.c-btn:hover { background: var(--pink); border-color: var(--pink); transform: translateY(-50%) scale(1.1); }
.c-btn.prev  { left: 12px; }
.c-btn.next  { right: 12px; }

/* dots */
.c-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 200px;
  z-index: 10;
}

.c-dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}

.c-dots button.on {
  background: var(--pink);
  transform: scale(1.4);
  box-shadow: 0 0 6px rgba(232,30,140,.7);
}

/* galeria cta */
.galeria-cta {
  margin-top: 36px;
  padding: 0 20px;
}

/* ── PILARES ── */
#pilares {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 24px;
}

.pilar {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}

.pilar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  opacity: 0;
  transition: opacity .3s;
}

.pilar:hover { transform: translateY(-6px); border-color: rgba(232,30,140,.3); box-shadow: 0 12px 36px rgba(232,30,140,.12); }
.pilar:hover::after { opacity: 1; }

/* Primeiro pilar (sem pregue e monte) sempre destaque */
#pilar-nodiy {
  background: linear-gradient(135deg, rgba(232,30,140,.12), rgba(124,58,237,.08));
  border-color: rgba(232,30,140,.35);
}
#pilar-nodiy::after { opacity: 1; }

.pilar-icon { font-size: 2.2rem; margin-bottom: 14px; }

.pilar h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.pilar p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
}

.pilar p strong { color: var(--yellow); }

/* ── CTA FINAL ── */
#cta-final {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(160deg, #1a0a30, #2d1060, #1a0a30);
  position: relative;
}

#cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,30,140,.14) 0%, transparent 65%);
  pointer-events: none;
}

#cta-final h2 {
  position: relative;
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

#cta-final p {
  position: relative;
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
}

#cta-final p strong { color: var(--yellow); }

#cta-wpp { position: relative; }

.cta-chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
  font-size: .83rem;
  color: rgba(255,255,255,.55);
}

/* ── FOOTER ── */
#footer {
  background: #060310;
  padding: 40px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
}

#footer img { height: 60px; width: auto; }

#footer p { font-size: .88rem; color: var(--muted); line-height: 1.7; }
#footer a { color: var(--pink); font-weight: 600; }
#footer a:hover { text-decoration: underline; }

.copy { font-size: .75rem; color: rgba(255,255,255,.25); margin-top: 4px; }

/* ── FLOAT BUTTON ── */
#float-wpp {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--wpp), var(--wpp-dk));
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: 13px 22px;
  border-radius: 50px;
  box-shadow: 0 6px 26px rgba(37,211,102,.5);
  animation: floatPulse 2.5s ease-in-out infinite;
  transition: transform .2s, box-shadow .2s;
}

#float-wpp svg { width: 22px; height: 22px; }
#float-wpp:hover { transform: translateY(-4px); box-shadow: 0 12px 38px rgba(37,211,102,.68); }

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* =====================
   RESPONSIVE
   ===================== */

/* Tablets */
@media (max-width: 768px) {
  #alert-bar { font-size: .78rem; gap: 4px; padding: 9px 12px; }
  .alert-sep { display: none; }

  #hero { padding-bottom: 55px; }

  #pilares { padding: 50px 16px; gap: 14px; }

  .c-btn { width: 38px; height: 38px; font-size: 1.2rem; }
}

/* Mobile */
@media (max-width: 480px) {
  #alert-bar {
    font-size: .72rem;
    padding: 8px 10px;
    line-height: 1.5;
  }

  .nav-inner { padding: 0 14px; }
  #logo { height: 46px; }

  #nav-wpp span { display: none; }
  #nav-wpp { padding: 10px 14px; }

  #hero { padding-bottom: 48px; padding-left: 16px; padding-right: 16px; }

  #hero h1 { font-size: 1.75rem; }
  #hero p  { font-size: .92rem; }

  .btn-wpp.big { font-size: .95rem; padding: 15px 26px; width: 100%; max-width: 340px; }

  #galeria { padding: 50px 0 44px; }
  #galeria h2 { margin-bottom: 24px; }

  .c-btn { width: 34px; height: 34px; font-size: 1.1rem; }
  .c-btn.prev { left: 8px; }
  .c-btn.next { right: 8px; }

  .slide span { font-size: .75rem; padding: 5px 11px; bottom: 10px; left: 10px; }

  .galeria-cta { margin-top: 26px; }
  .galeria-cta .btn-wpp { width: 100%; max-width: 340px; }

  #pilares {
    grid-template-columns: 1fr;
    padding: 44px 16px;
    gap: 14px;
  }

  #cta-final { padding: 60px 16px; }
  #cta-final h2 { font-size: 1.4rem; }
  #cta-wpp { width: 100%; max-width: 360px; }
  .cta-chips { flex-direction: column; gap: 8px; align-items: center; }

  #float-wpp span { display: none; }
  #float-wpp { width: 56px; height: 56px; border-radius: 50%; padding: 0; justify-content: center; }
}

/* Very small */
@media (max-width: 360px) {
  #alert-bar { font-size: .68rem; }
  #hero h1   { font-size: 1.5rem; }
}
