/* =============================================
   HOME PAGE - CSS Específico
   ============================================= */

/* ======= HERO ======= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

/* Curitiba landmarks silhouette - SVG inline */
.hero-bg::after {
  display: none;
}

/* Skyline SVG container */
.curitiba-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 1;
  pointer-events: none;
}

.curitiba-skyline svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Labels dos landmarks (opcional, aparece no hover) */
.curitiba-skyline .landmark-label {
  font-family: var(--font-primary);
  font-size: 9px;
  fill: rgba(255,255,255,0.5);
  text-anchor: middle;
  letter-spacing: 0.5px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(26,107,60,0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 20%, rgba(30,58,95,0.4) 0%, transparent 50%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) translateX(30px); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge i {
  color: #f87171;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Search Box */
.hero-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 680px;
  margin: 0 auto 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 6px;
  backdrop-filter: blur(12px);
}

.search-wrapper {
  flex: 1;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  pointer-events: none;
  z-index: 1;
}

.search-input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  background: transparent;
  border: none;
  color: white;
  font-size: 15px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.search-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.search-input:focus {
  background: rgba(255,255,255,0.05);
}

.btn-search {
  border-radius: var(--radius-lg) !important;
  padding: 12px 28px !important;
  font-size: 15px !important;
  white-space: nowrap;
}

/* Search Suggestions */
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  z-index: 100;
  display: none;
  border: 1px solid var(--cinza-100);
}

.search-suggestions.open {
  display: block;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  color: var(--cinza-700);
  transition: var(--transition);
}

.suggestion-item:hover {
  background: var(--cinza-50);
  color: var(--verde-curitiba);
}

.suggestion-item i {
  color: var(--cinza-300);
  font-size: 13px;
  width: 16px;
}

.suggestion-item:hover i {
  color: var(--verde-curitiba);
}

/* Quick Search Tags */
.hero-quick-search {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 680px;
  margin: 0 auto 48px;
}

.quick-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.quick-tag {
  padding: 6px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.quick-tag:hover {
  background: rgba(255,255,255,0.15);
  color: white;
  transform: translateY(-1px);
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 20px 40px;
  max-width: 500px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number::after {
  content: '+';
  font-size: 20px;
  color: #4ade80;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  margin: 0 8px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease infinite;
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scroll-wheel 1.5s ease infinite;
}

@keyframes scroll-wheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

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

/* ======= COMO FUNCIONA ======= */
.como-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.como-card {
  background: var(--branco);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--cinza-100);
}

.como-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cinza-100);
}

.como-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.como-icon-verde {
  background: rgba(26,107,60,0.1);
  color: var(--verde-curitiba);
}

.como-icon-azul {
  background: rgba(30,58,95,0.1);
  color: var(--azul-aco);
}

.como-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--cinza-800);
}

.como-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.como-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-verde);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--cinza-800);
}

.step-text span {
  font-size: 13px;
  color: var(--cinza-400);
  line-height: 1.5;
}

/* ======= CIDADES ======= */
.section-cidades {
  background: var(--cinza-900);
  position: relative;
  overflow: hidden;
}

.section-cidades::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(26,107,60,0.2) 0%, transparent 60%);
}

.section-cidades .section-title {
  color: white;
}

.section-cidades .section-subtitle {
  color: var(--cinza-400);
}

.section-cidades .section-badge {
  background: rgba(255,255,255,0.1);
  color: #4ade80;
}

.cidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 10px;
  position: relative;
  z-index: 1;
}

.cidade-card {
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cidade-card:hover {
  background: rgba(255,255,255,0.08);
  color: white;
  border-color: rgba(255,255,255,0.15);
}

.cidade-destaque {
  background: rgba(26,107,60,0.25) !important;
  border-color: rgba(74,222,128,0.3) !important;
  color: #4ade80 !important;
  font-weight: 700 !important;
}

.cidade-destaque i {
  color: #facc15;
  font-size: 11px;
}

/* ======= CTA ======= */
.section-cta {
  padding: 64px 0;
  background: var(--cinza-50);
}

.cta-card {
  background: var(--gradient-azul);
  border-radius: var(--radius-xl);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  position: relative;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-content p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-decoration {
  position: relative;
  z-index: 1;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.cta-circle-1 {
  width: 240px;
  height: 240px;
  top: -60px;
  right: -60px;
}

.cta-circle-2 {
  width: 160px;
  height: 160px;
  top: 20px;
  right: 20px;
}

.cta-icon-big {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: rgba(255,255,255,0.7);
  position: relative;
  z-index: 2;
}

/* ======= RESPONSIVO ======= */
@media (max-width: 768px) {
  .hero-search {
    flex-direction: column;
    border-radius: var(--radius-lg);
    gap: 8px;
  }

  .btn-search {
    width: 100%;
    border-radius: var(--radius-lg) !important;
  }

  .hero-stats {
    padding: 16px 20px;
  }

  .stat-number {
    font-size: 26px;
  }

  .como-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    flex-direction: column;
    padding: 40px 28px;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }

  .cta-decoration {
    display: none;
  }

  .hero-quick-search {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
    margin: 0;
  }

  .cidades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
