/* ===== SHIFT TELECOM - Static Site ===== */
:root {
  --primary: #843B96;
  --primary-dark: #6a2f78;
  --secondary: #00B1B7;
  --secondary-dark: #009399;
  --accent: #E93E39;
  --orange: #FF8800;
  --dark: #1a1a2e;
  --gray: #4a4a5a;
  --light: #f8f9fc;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #843B96 0%, #00B1B7 100%);
  --gradient-hero: linear-gradient(170deg, #E93E39 0%, #843B96 45%, #00B1B7 100%);
  --shadow: 0 10px 40px rgba(132, 59, 150, 0.15);
  --radius: 16px;
  --font: 'Quicksand', 'Segoe UI', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--gradient-hero);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  width: 100%;
}

.header > .container {
  max-width: 1200px !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
}

.logo-footer img {
  height: 48px;
  width: auto;
  margin-bottom: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 1;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav a {
  color: white;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 8px 10px;
  border-radius: 8px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  background: rgba(255,255,255,0.18);
  color: #FFD580;
}

.nav .btn-wa {
  background: #25D366;
  color: white !important;
  font-weight: 600;
  padding: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.nav .btn-wa i {
  margin: 0;
}

.nav .btn-wa:hover {
  background: #1ebe57;
  transform: translateY(-1px);
}

.nav .btn-central {
  background: rgba(255,255,255,0.18);
  color: white !important;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav .btn-central:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.nav .btn-central .central-short {
  display: none;
}
.nav .btn-central .central-full {
  display: inline;
}

.nav .btn-webmail {
  background: rgba(0, 177, 183, 0.35);
  color: white !important;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav .btn-webmail:hover {
  background: rgba(0, 177, 183, 0.55);
  transform: translateY(-1px);
}

/* Webmail page card */
.webmail-card {
  max-width: 440px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(132, 59, 150, 0.15);
  padding: 40px 32px;
  text-align: center;
}

.webmail-card .icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #843B96, #00B1B7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
}

.webmail-card h2 {
  color: #843B96;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.webmail-card p {
  color: #4a4a5a;
  margin-bottom: 24px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.webmail-card .btn {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, #843B96, #00B1B7);
  color: white;
  font-size: 1.05rem;
  padding: 14px 24px;
}

.webmail-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(132, 59, 150, 0.35);
}

.webmail-card .hint {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #888;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  background: var(--gradient-hero);
  background-image: linear-gradient(105deg, rgba(132,59,150,0.88) 0%, rgba(233,62,57,0.75) 40%, rgba(0,177,183,0.72) 100%), url('../assets/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  color: white;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.hero-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Text carousel */
.hero-carousel {
  position: relative;
  min-height: 160px;
  margin-bottom: 28px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.hero h1 span {
  color: #FFD580;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 0;
  text-shadow: 0 1px 12px rgba(0,0,0,0.2);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: 0.25s;
}

.hero-dots button.active,
.hero-dots button:hover {
  background: white;
  border-color: white;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: white;
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
}

/* ===== SECTION ===== */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== PLANS ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.plan-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: 0 20px 50px rgba(0, 177, 183, 0.2);
}

.plan-card.featured {
  border-color: var(--primary);
  position: relative;
}

.plan-card.featured::before {
  content: 'Mais Popular';
  position: absolute;
  top: 16px;
  right: -30px;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
}

.plan-header {
  background: var(--gradient);
  color: white;
  padding: 24px 20px;
  text-align: center;
}

.plan-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.plan-price {
  padding: 24px 20px 10px;
  text-align: center;
}

.plan-price .value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
}

.plan-price .period {
  color: var(--gray);
  font-size: 0.95rem;
}

.plan-features {
  list-style: none;
  padding: 10px 24px 24px;
  flex: 1;
}

.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 800;
  font-size: 1.1rem;
}

.plan-footer {
  padding: 0 20px 24px;
  text-align: center;
}

.plan-footer .btn {
  width: 100%;
  justify-content: center;
  background: var(--primary);
  color: white;
}

.plan-footer .btn:hover {
  background: var(--primary-dark);
}

/* ===== FEATURES / BENEFITS ===== */
.benefits {
  background: var(--light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.benefit-card {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.benefit-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ===== FAMILY / BUSINESS ===== */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.two-cols.reverse {
  direction: rtl;
}

.two-cols.reverse > * {
  direction: ltr;
}

.content-box h2 {
  font-size: 1.9rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.content-box p {
  color: var(--gray);
  margin-bottom: 12px;
}

.content-box ul {
  margin: 16px 0 24px 20px;
  color: var(--gray);
}

.visual-box {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 50px 30px;
  color: white;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.visual-box .big-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

/* ===== CITIES ===== */
.cities {
  background: var(--dark);
  color: white;
  text-align: center;
}

.cities h2 {
  color: white;
  margin-bottom: 12px;
}

.cities p {
  opacity: 0.85;
  margin-bottom: 30px;
}

.cities-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.city-tag {
  background: rgba(255,255,255,0.12);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: 0.25s;
}

.city-tag:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

/* ===== CONTACT / CTA ===== */
.cta {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 60px 0;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta p {
  opacity: 0.95;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.phone-item {
  background: rgba(255,255,255,0.15);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  backdrop-filter: blur(4px);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: 0.2s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .icon {
  font-size: 1.3rem;
  color: var(--primary);
  transition: 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: var(--gradient-hero);
  color: white;
  padding: 50px 0 60px;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%23ffffff' d='M0,25 C480,50 960,0 1440,25 L1440,50 L0,50 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
}

/* ===== CONTENT PAGE ===== */
.content-page {
  padding: 50px 0 70px;
}

.content-page .prose {
  max-width: 780px;
  margin: 0 auto;
}

.content-page .prose h2 {
  color: var(--primary);
  margin: 32px 0 12px;
  font-size: 1.5rem;
}

.content-page .prose h3 {
  color: var(--primary-dark);
  margin: 24px 0 10px;
  font-size: 1.2rem;
}

.content-page .prose p {
  margin-bottom: 14px;
  color: var(--gray);
}

.content-page .prose ul {
  margin: 12px 0 20px 24px;
  color: var(--gray);
}

.content-page .prose li {
  margin-bottom: 6px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 50px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer p, .footer a {
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .two-cols,
  .two-cols.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  .nav a:not(.btn-wa):not(.btn-central):not(.btn-webmail) {
    padding: 8px 8px;
    font-size: 0.82rem;
  }
  .logo img {
    height: 40px;
  }
}

@media (max-width: 1024px) {
  /* Tablet / iPhone landscape: usa menu hamburger */
  .menu-toggle {
    display: block !important;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 10px;
    right: 10px;
    width: auto;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 12px;
    gap: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    flex-wrap: wrap;
    border-radius: 12px;
    z-index: 1001;
  }
  .nav.open {
    display: flex !important;
  }
  .nav a {
    width: 100%;
    padding: 12px 16px;
    display: flex !important;
  }
  .nav .btn-wa,
  .nav .btn-central,
  .nav .btn-webmail {
    width: 100%;
    justify-content: center;
  }
  .nav a.btn-wa {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 12px 16px !important;
    border-radius: 30px !important;
    font-size: 0.95rem !important;
    gap: 8px !important;
    overflow: visible !important;
  }
  .nav a.btn-wa i {
    font-size: 1.15rem !important;
  }
  .nav a.btn-wa::after {
    content: " WhatsApp";
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .location-picker-wrap {
    order: 3;
    width: 100%;
    margin-top: 4px;
  }
  .location-picker {
    width: 100%;
    justify-content: center;
  }
  .location-select {
    max-width: none;
    flex: 1;
  }
  .logo img {
    height: 38px !important;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 10px;
    right: 10px;
    width: auto;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 12px;
    gap: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    flex-wrap: wrap;
    border-radius: 12px;
    z-index: 1001;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    width: 100%;
    padding: 12px 16px;
    display: flex !important;
  }
  .nav .btn-wa,
  .nav .btn-central,
  .nav .btn-webmail {
    width: 100%;
    justify-content: center;
  }
  .hero {
    padding: 50px 0 70px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .logo img {
    height: 42px;
  }
}

/* Utilities */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ===== ADVANCED ANIMATIONS ===== */

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for children */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.12s; }
.stagger > *:nth-child(3) { transition-delay: 0.19s; }
.stagger > *:nth-child(4) { transition-delay: 0.26s; }
.stagger > *:nth-child(5) { transition-delay: 0.33s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }
.stagger > *:nth-child(7) { transition-delay: 0.47s; }
.stagger > *:nth-child(8) { transition-delay: 0.54s; }

/* Plan cards – richer hover */
.plan-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.plan-card .plan-header {
  transition: background 0.4s ease;
}

.plan-card:hover .plan-header {
  background: linear-gradient(135deg, #00B1B7 0%, #843B96 100%);
}

.plan-card .plan-footer .btn {
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover .plan-footer .btn {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(132, 59, 150, 0.35);
}

/* Benefit cards float */
.benefit-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}

.benefit-icon {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.12) rotate(-6deg);
}

/* City tags pulse on hover */
.city-tag {
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.city-tag:hover {
  transform: translateY(-3px) scale(1.04);
}

/* Buttons ripple-ish glow */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.25), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(255,255,255,0.25);
}

.btn-whatsapp:hover {
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}

/* Header slide-in */
.header {
  animation: headerIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes headerIn {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero entrance */
.hero-content {
  animation: heroFade 0.9s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero slide transitions refined */
.hero-slide {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Floating subtle on visual boxes */
.visual-box {
  animation: floatSoft 5s ease-in-out infinite;
}

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

.visual-box .big-icon {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.visual-box:hover .big-icon {
  transform: scale(1.15);
}

/* Section title underline draw */
.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.section-title.revealed h2::after {
  width: 60px;
}

/* FAQ smooth open already exists – enhance question */
.faq-question {
  transition: color 0.25s ease, background 0.25s ease;
}

.faq-item {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item.open {
  box-shadow: 0 8px 28px rgba(132, 59, 150, 0.12);
}

.faq-item:hover:not(.open) {
  transform: translateX(4px);
}

/* CTA pulse on WhatsApp button in hero */
@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}

.hero .btn-whatsapp {
  animation: softPulse 2.5s ease-in-out infinite;
}

/* Logo subtle hover */
.logo img {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}


/* ===== LOCATION PICKER ===== */
.location-picker-wrap {
  flex-shrink: 0;
}

.location-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  padding: 6px 10px 6px 12px;
  color: white;
  white-space: nowrap;
}

.location-picker i {
  font-size: 0.95rem;
  opacity: 0.95;
}

.location-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  color: white;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 2px 18px 2px 0;
  max-width: 160px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='white' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
}

.location-select option {
  color: #1a1a2e;
  background: white;
}

@media (max-width: 900px) {
  .location-select {
    max-width: 120px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .location-picker-wrap {
    order: 3;
    width: 100%;
    margin-top: 4px;
  }
  .location-picker {
    width: 100%;
    justify-content: center;
  }
  .location-select {
    max-width: none;
    flex: 1;
  }
}


/* Plan cards — fade mais suave */
#plansGrid .plan-card.reveal-scale {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

#plansGrid .plan-card.reveal-scale.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* wa icon only on desktop */
@media (min-width: 769px) {
  .nav a.btn-wa {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    overflow: hidden;
  }
  .nav a.btn-wa i {
    font-size: 1.25rem !important;
    line-height: 1;
  }
}

/* Mobile header + menu fixes */
@media (max-width: 768px) {
  .header {
    overflow: visible;
  }
  .header .container {
    padding-left: 14px;
    padding-right: 14px;
    max-width: 100%;
  }
  .header-inner {
    gap: 8px;
    padding: 10px 0;
    width: 100%;
    box-sizing: border-box;
  }
  .logo {
    max-width: calc(100% - 52px);
  }
  .logo img {
    height: 36px !important;
    max-width: 140px;
  }
  .menu-toggle {
    margin-right: 2px;
    padding: 8px 10px;
    flex-shrink: 0;
    z-index: 1002;
  }
  .nav.open {
    left: 10px;
    right: 10px;
    width: auto;
    border-radius: 12px;
    margin-top: 6px;
    max-height: 70vh;
    overflow-y: auto;
  }
  .nav a.btn-wa {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 12px 16px !important;
    border-radius: 30px !important;
    font-size: 0.95rem !important;
    gap: 8px !important;
    overflow: visible !important;
  }
  .nav a.btn-wa i {
    font-size: 1.15rem !important;
  }
  .nav a.btn-wa::after {
    content: " WhatsApp";
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
  }
  .location-picker-wrap {
    padding: 0 2px;
  }
  .hero {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-content {
    padding: 0 8px;
  }
  .cities-list {
    padding: 0 4px;
    gap: 10px;
  }
  button.city-tag,
  .city-tag {
    opacity: 1 !important;
    visibility: visible !important;
  }
}



/* City tags as buttons */
button.city-tag {
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  opacity: 1;
  transform: none;
  border: 1px solid rgba(255,255,255,0.2);
}

button.city-tag:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-3px) scale(1.04);
}

button.city-tag.active {
  background: var(--secondary);
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.35);
}


#citiesList {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

#citiesList .city-tag,
button.city-tag {
  pointer-events: auto !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 2;
  -webkit-tap-highlight-color: rgba(0,177,183,0.35);
  touch-action: manipulation;
}


/* Cities clickable + hover */
#citiesList .city-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
#citiesList .city-tag:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 20px rgba(0, 177, 183, 0.35);
}
#citiesList .city-tag:active {
  background: var(--secondary);
  transform: scale(0.97);
}
#citiesList .city-tag.active {
  background: var(--secondary);
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.35);
}



/* Mobile cities: ensure taps register */
@media (max-width: 768px) {
  #citiesList {
    z-index: 5;
    position: relative;
  }
  #citiesList .city-tag {
    min-height: 44px;
    padding: 12px 20px !important;
  }
}
@media (hover: hover) and (pointer: fine) {
  #citiesList .city-tag:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 20px rgba(0, 177, 183, 0.35);
  }
}


@media (min-width: 1025px) {
  .menu-toggle {
    display: none !important;
  }
  .nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    width: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }
  .nav a.btn-wa::after {
    content: none;
  }
}


/* ===== iPhone / mobile landscape & safe area ===== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  box-sizing: border-box;
}

.header {
  width: 100%;
  box-sizing: border-box;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

@media (max-width: 1024px) {
  .header .container {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .header-inner {
    padding: 8px 0;
    gap: 10px;
  }
  .menu-toggle {
    margin-right: 4px;
    margin-left: 4px;
    padding: 10px 12px;
  }
  .nav {
    left: max(12px, env(safe-area-inset-left)) !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    width: auto !important;
  }
  .nav.open {
    left: max(12px, env(safe-area-inset-left)) !important;
    right: max(12px, env(safe-area-inset-right)) !important;
  }
  .hero {
    width: 100%;
    box-sizing: border-box;
  }
  .hero-content {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section,
  .cities,
  .cta,
  .plans,
  .content-page {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  #citiesList {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 4px;
    visibility: visible !important;
    opacity: 1 !important;
  }
  #citiesList .city-tag {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100%;
  }
}

/* Landscape phones specifically */
@media (max-height: 500px) and (orientation: landscape) {
  .header-inner {
    padding: 6px 0;
  }
  .logo img {
    height: 32px !important;
  }
  .location-picker-wrap {
    order: 3;
    width: 100%;
  }
  .hero {
    min-height: auto;
    padding: 40px 0 50px;
  }
  .hero-carousel {
    min-height: 110px;
  }
  .nav {
    max-height: 70vh;
    overflow-y: auto;
  }
}

/* Kill stray white edges from 100vw misuse */
.header-inner,
.hero,
.section,
footer {
  max-width: 100vw;
}


/* ===== Header progressive breakpoints ===== */
@media (max-width: 1180px) {
  .header .container {
    max-width: 100%;
  }
  .header-inner {
    gap: 10px;
  }
  .nav {
    gap: 2px;
  }
  .nav a:not(.btn-wa):not(.btn-central):not(.btn-webmail) {
    padding: 8px 8px;
    font-size: 0.84rem;
  }
  .nav .btn-central,
  .nav .btn-webmail {
    padding: 8px 12px;
    font-size: 0.84rem;
  }
  .location-select {
    max-width: 140px;
    font-size: 0.85rem;
  }
  .logo img {
    height: 40px;
  }
}

/* Só encurta no header horizontal; no menu mobile mantém texto completo */
@media (min-width: 1025px) and (max-width: 1118px) {
  .nav .btn-central .central-full {
    display: none;
  }
  .nav .btn-central .central-short {
    display: inline;
  }
}

@media (max-width: 1024px) {
  .nav .btn-central .central-full {
    display: inline;
  }
  .nav .btn-central .central-short {
    display: none;
  }
}




/* ===== CLIENTS CAROUSEL ===== */
.clients-section {
  background: var(--light);
  overflow: hidden;
  padding-bottom: 40px;
}

.clients-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 8px;
  padding: 16px 0 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.clients-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  animation: clientsScroll 61s linear infinite;
}

.clients-carousel:hover .clients-track {
  animation-play-state: paused;
}

.clients-group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}

.client-logo {
  flex: 0 0 auto;
  width: 140px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(132, 59, 150, 0.08);
  border: 1px solid rgba(132, 59, 150, 0.06);
  padding: 4px 6px;
  box-sizing: border-box;
  overflow: visible;
  position: relative;
  z-index: 1;
  transition: z-index 0s;
}

.client-logo img {
  max-width: 100%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.92;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center center;
}

.client-logo:hover {
  z-index: 5;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.5);
}

@keyframes clientsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .client-logo {
    width: 110px;
    height: 60px;
    padding: 3px 5px;
  }
  .client-logo img {
    max-height: 48px;
  }
  .clients-group {
    gap: 14px;
    padding-right: 14px;
  }
  .clients-track {
    animation-duration: 50s;
  }
}


/* ===== CADASTRO FORM ===== */
.cadastro-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(132, 59, 150, 0.12);
  padding: 32px 28px 36px;
}
.cadastro-intro {
  color: var(--gray);
  margin-bottom: 24px;
  text-align: center;
}
.cadastro-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cadastro-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cadastro-form .form-group.full {
  grid-column: 1 / -1;
}
.cadastro-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}
.cadastro-form input,
.cadastro-form select,
.cadastro-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #d8d8e4;
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.cadastro-form input:focus,
.cadastro-form select:focus,
.cadastro-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(132, 59, 150, 0.15);
}
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0 16px;
  font-size: 0.9rem;
  color: var(--gray);
  cursor: pointer;
}
.form-check input {
  margin-top: 3px;
}
.cadastro-submit {
  width: 100%;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  padding: 14px 24px;
}
.cadastro-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.cadastro-alert {
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-weight: 600;
  font-size: 0.95rem;
}
.cadastro-alert.ok {
  background: #e8f8ef;
  color: #1a7a3c;
  border: 1px solid #b6e6c7;
}
.cadastro-alert.err {
  background: #fdeeee;
  color: #a32020;
  border: 1px solid #f0c0c0;
}
@media (max-width: 640px) {
  .cadastro-form .form-grid {
    grid-template-columns: 1fr;
  }
  .cadastro-wrap {
    padding: 24px 16px 28px;
  }
}


/* ===== CADASTRO WIZARD ===== */
.cadastro-page .container {
  max-width: 1000px;
}
.wizard-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .wizard-layout {
    grid-template-columns: 1fr;
  }
  .wizard-stage {
    min-height: 180px !important;
    order: -1;
  }
}

.wizard-stage {
  position: relative;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #3a1a5c 0%, #5b2a8a 40%, #00b1b7 100%);
  box-shadow: 0 12px 40px rgba(132,59,150,.2);
}
.stage-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.12), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0,177,183,.25), transparent 35%);
}
.stage-ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 28%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.25));
}
.stage-character {
  position: absolute;
  bottom: 18%;
  z-index: 2;
  text-align: center;
  transition: left 0.7s cubic-bezier(.22,1,.36,1), right 0.7s cubic-bezier(.22,1,.36,1), transform 0.5s ease;
}
.stage-character.offline {
  left: 8%;
}
.stage-character.shift {
  right: 8%;
}
.wizard-stage.progress-1 .stage-character.offline { left: 12%; }
.wizard-stage.progress-2 .stage-character.offline { left: 18%; }
.wizard-stage.progress-3 .stage-character.offline { left: 24%; }
.wizard-stage.progress-4 .stage-character.offline { left: 30%; }
.wizard-stage.progress-5 .stage-character.offline { left: 36%; }
.wizard-stage.progress-6 .stage-character.offline { left: 42%; }
.wizard-stage.progress-7 .stage-character.offline { left: 46%; }
.wizard-stage.progress-ok .stage-character.offline { left: 42%; transform: scale(1.05); }
.wizard-stage.progress-ok .stage-character.shift { right: 42%; }

.char-body {
  width: 64px; height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  border: 2px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
}
.char-body.shift-logo {
  background: #fff;
  padding: 10px;
}
.char-body.shift-logo img {
  width: 100%; height: 100%; object-fit: contain;
}
.char-signal {
  margin-top: 6px; color: #ff8a8a; font-size: 1rem;
  animation: signalPulse 1.2s ease infinite;
}
.char-signal.good { color: #7CFFB2; animation: none; }
@keyframes signalPulse {
  0%,100% { opacity: .4; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.1); }
}
.char-bubble {
  background: #fff;
  color: #5b2a8a;
  font-size: .75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.char-label {
  margin-top: 8px;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.stage-fiber {
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 28%;
  height: 4px;
  z-index: 1;
}
.fiber-line {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, #ffd580, #00b1b7, #7CFFB2);
  box-shadow: 0 0 12px rgba(0,177,183,.8);
  transition: width 0.7s cubic-bezier(.22,1,.36,1);
}
.wizard-stage.progress-1 .fiber-line { width: 12%; }
.wizard-stage.progress-2 .fiber-line { width: 28%; }
.wizard-stage.progress-3 .fiber-line { width: 42%; }
.wizard-stage.progress-4 .fiber-line { width: 55%; }
.wizard-stage.progress-5 .fiber-line { width: 68%; }
.wizard-stage.progress-6 .fiber-line { width: 82%; }
.wizard-stage.progress-7 .fiber-line { width: 94%; }
.wizard-stage.progress-ok .fiber-line { width: 100%; }

.stage-celebrate {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  background: rgba(58,26,92,.35);
  animation: fadeIn .4s ease;
}
.stage-celebrate .boom {
  font-size: 4rem;
  animation: boomPop .6s cubic-bezier(.34,1.56,.64,1);
}
@keyframes boomPop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.confetti i {
  position: absolute;
  font-size: 1rem;
  animation: confettiFall 1.8s ease-out forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  100% { transform: translateY(120px) rotate(240deg); opacity: 0; }
}

.wizard-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(132,59,150,.12);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.wizard-progress {
  height: 6px;
  background: #eee6f5;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
}
.wizard-progress-bar {
  height: 100%;
  width: 14%;
  background: var(--gradient);
  border-radius: 6px;
  transition: width .45s ease;
}
.wizard-step-label {
  font-size: .85rem;
  color: var(--gray);
  margin-bottom: 18px;
  font-weight: 600;
}
.wizard-step {
  display: none;
  flex: 1;
  animation: stepIn .35s ease;
}
.wizard-step.active {
  display: block;
}
@keyframes stepIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
.wizard-step h2 {
  font-size: 1.45rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.wizard-hint {
  color: var(--gray);
  margin-bottom: 18px;
  font-size: .95rem;
}
.wizard-step input,
.wizard-step select,
.wizard-step textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1.05rem;
  padding: 14px 16px;
  border: 1px solid #d8d8e4;
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}
.wizard-step input:focus,
.wizard-step select:focus,
.wizard-step textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(132,59,150,.15);
}
.wizard-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wizard-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
}
.wizard-nav {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.wizard-btn-back {
  background: #f3eef8;
  color: var(--primary-dark);
  border: none;
  cursor: pointer;
}
.wizard-btn-next,
.wizard-btn-send {
  margin-left: auto;
  border: none;
  cursor: pointer;
  background: var(--gradient);
  color: #fff;
}
.wizard-btn-send:disabled {
  opacity: .65;
  cursor: wait;
}
.success-step {
  text-align: center;
  padding-top: 20px;
}
.success-icon {
  font-size: 3rem;
  margin-bottom: 8px;
}
.success-step h2 {
  color: var(--secondary);
}


.map-cadastro {
  width: 100%;
  height: 260px;
  border-radius: 14px;
  margin-top: 12px;
  border: 1px solid #e0d6ec;
  z-index: 1;
}
.map-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.map-actions .btn {
  font-size: 0.92rem;
  padding: 10px 14px;
  border: none;
  cursor: pointer;
  background: var(--gradient);
  color: #fff;
}
.map-coords {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--gray);
  font-weight: 600;
}
.wizard-stage.progress-8 .fiber-line { width: 97%; }
.wizard-stage.progress-8 .stage-character.offline { left: 47%; }


.wizard-btn-next[hidden],
.wizard-btn-send[hidden],
.wizard-btn-back[hidden] {
  display: none !important;
}


.btn-whatsapp-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 22px;
  border-radius: 30px;
  background: #25D366 !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform .2s, background .2s;
}
.btn-whatsapp-success:hover {
  background: #1ebe57 !important;
  transform: translateY(-2px);
  color: #fff !important;
}
.success-step .wizard-btn-back {
  display: inline-flex;
}
