/* ========================================
   LANDING PAGE — WhatsApp CTA
   Paleta: Laranja / Amarelo / Branco
   Layout: 100vh, zero scroll
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Nunito', sans-serif;
  background: #FFF8F0;
  color: #3D2C1E;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Layout Shell ---------- */
.page-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh; /* dynamic viewport for mobile browsers */
  overflow: hidden;
}

/* ========== 1. TOPBAR ========== */
.topbar {
  flex-shrink: 0;
  background: linear-gradient(135deg, #FF6B00, #FF8C00);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(255, 107, 0, 0.35);
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.topbar svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.topbar-text {
  animation: topbar-glow 2s ease-in-out infinite alternate;
}

@keyframes topbar-glow {
  0%   { text-shadow: 0 0 4px rgba(255,255,255,0.3); }
  100% { text-shadow: 0 0 16px rgba(255,255,255,0.7); }
}

/* ========== 2. HERO SECTION ========== */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 20px;
  gap: 6px;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(255,200,50,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 20%, rgba(255,107,0,0.06) 0%, transparent 50%),
    #FFF8F0;
  overflow: hidden;
  position: relative;
}

/* Soft decorative circles */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}
.hero::before {
  width: 340px;
  height: 340px;
  background: #FF6B00;
  top: -100px;
  right: -80px;
}
.hero::after {
  width: 260px;
  height: 260px;
  background: #FFB800;
  bottom: -60px;
  left: -60px;
}

/* Mascot image */
.hero-image {
  width: clamp(110px, 22vw, 200px);
  height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 8px 28px rgba(255,107,0,0.25));
  animation: mascot-float 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes mascot-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Typography */
.hero h1 {
  font-size: clamp(1.3rem, 4.5vw, 2.4rem);
  font-weight: 900;
  color: #2D1A0E;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}

.hero h1 span {
  color: #FF6B00;
}

.hero h2 {
  font-size: clamp(0.85rem, 2.5vw, 1.15rem);
  font-weight: 600;
  color: #7A6050;
  max-width: 460px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

/* ========== CTA BUTTON ========== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  padding: 16px 44px;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fff;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: none;
  border-radius: 60px;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 6px 24px rgba(37, 211, 102, 0.4),
    0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
  animation: pulse-ring 2s ease-out infinite;
}

.cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 10px 36px rgba(37, 211, 102, 0.5),
    0 4px 10px rgba(0,0,0,0.1);
}

.cta-btn:active {
  transform: translateY(0) scale(0.98);
}

.cta-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Pulsation ring behind button */
@keyframes pulse-ring {
  0% {
    box-shadow:
      0 6px 24px rgba(37, 211, 102, 0.4),
      0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  70% {
    box-shadow:
      0 6px 24px rgba(37, 211, 102, 0.4),
      0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow:
      0 6px 24px rgba(37, 211, 102, 0.4),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ========== 3. SOCIAL PROOF TOAST ========== */
.toast {
  position: fixed;
  bottom: 56px;
  left: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.1),
    0 1px 4px rgba(0,0,0,0.06);
  font-size: 0.85rem;
  font-weight: 600;
  color: #3D2C1E;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  max-width: 340px;
  border-left: 4px solid #25D366;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-check {
  width: 22px;
  height: 22px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-check svg {
  width: 13px;
  height: 13px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
}

/* ========== 4. FOOTER ========== */
.footer {
  flex-shrink: 0;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.72rem;
  color: #B5A89D;
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 10;
  background: #FFF8F0;
}

.footer a {
  color: #B5A89D;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: #FF6B00;
  text-decoration: underline;
}

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

/* Small phones (≤ 380px) */
@media (max-width: 380px) {
  .topbar { font-size: 0.78rem; padding: 8px 12px; }
  .hero-image { width: 100px; }
  .cta-btn { padding: 14px 30px; font-size: 0.9rem; }
  .toast { left: 10px; right: 10px; max-width: none; bottom: 50px; font-size: 0.78rem; }
}

/* Phones (381–600px) */
@media (min-width: 381px) and (max-width: 600px) {
  .toast { left: 12px; right: 12px; max-width: none; }
}

/* Mobile landscape & short screens */
@media (max-height: 580px) {
  .topbar { padding: 6px 12px; font-size: 0.8rem; }
  .hero-image { width: 80px; }
  .hero { gap: 4px; padding: 8px 16px; }
  .hero h1 { font-size: 1.15rem; }
  .hero h2 { font-size: 0.8rem; }
  .cta-btn { padding: 12px 28px; font-size: 0.88rem; }
  .footer { padding: 6px 12px; font-size: 0.65rem; }
  .toast { bottom: 40px; }
}

/* Tablets & up */
@media (min-width: 768px) {
  .topbar { font-size: 1.05rem; padding: 12px 20px; }
  .cta-btn { padding: 18px 56px; font-size: 1.25rem; }
}

/* Desktop wide */
@media (min-width: 1200px) {
  .hero-image { width: 220px; }
}

/* Toast on mobile: top-right */
@media (max-width: 600px) {
  .toast {
    bottom: auto;
    top: 56px;
    left: 10px;
    right: 10px;
    max-width: none;
  }
}
