/* ==========================================================================
   Landa Pegue e Monte - Main Stylesheet
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #ec4899;
  --primary-hover: #db2777;
  --primary-light: #fce7f3;
  --primary-foreground: #ffffff;

  --pastel-pink: #fff0f5;
  --pastel-pink-foreground: #831843;
  --pastel-blue: #f0f7ff;
  --pastel-blue-foreground: #1e3a8a;

  --whatsapp: #25d366;
  --whatsapp-hover: #1da851;
  --instagram: #e1306c;
  --instagram-hover: #c13584;

  --bg-main: #ffffff;
  --bg-card: #ffffff;
  --bg-muted: #f8fafc;
  --bg-dark: #0f172a;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-dark: #0f172a;
  --text-light: #f8fafc;

  --border: #e2e8f0;
  --border-focus: #ec4899;

  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-sm {
  max-width: 768px;
}

.section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-instagram {
  background-color: var(--instagram);
  color: #ffffff;
}

.btn-instagram:hover {
  background-color: var(--instagram-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.95);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-text span {
  color: var(--primary);
}

.logo-text-main {
  font-size: 1.15rem;
  font-weight: 800;
  white-space: nowrap;
  background: linear-gradient(90deg, #ec4899, #f59e0b, #ec4899, #8b5cf6, #ec4899);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: logo-shine 5s linear infinite;
}

@keyframes logo-shine {
  to {
    background-position: 300% center;
  }
}

@media (max-width: 640px) {
  .logo-text-main {
    font-size: 0.95rem;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-btn-mobile {
  display: none;
}

/* ── Dropdown Temas ─────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
}

.nav-dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

.nav-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  gap: 0.15rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 2000;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-dropdown-item i {
  color: var(--primary);
  width: 18px;
  text-align: center;
}

.nav-dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.nav-dropdown-divider {
  height: 1px;
  background-color: var(--border);
  margin: 0.35rem 0.5rem;
}

/* Mobile: dropdown inline */
@media (max-width: 991px) {
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--primary);
    border-radius: 0;
    margin-left: 1rem;
    padding: 0.25rem 0;
    background: var(--bg-muted);
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    pointer-events: none;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 200px;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    font-size: 1.1rem;
  }
}


.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
@media (max-width: 991px) {
  .nav-btn-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-main);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
  }

  .nav-btn-mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 1rem;
  }
}

/* ==========================================================================
   Hero Section - Enchanted Castle & Smooth Moving LED Neon
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-video { display: none; }
.hero-video-mobile { display: none; }
.hero-mobile { display: none; }

.hero-cta {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-cta .btn {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
  .hero-video-desktop {
    display: block;
    width: 100%;
    height: auto;
  }
  .hero-desktop { display: none; }
}

@media (max-width: 768px) {
  .hero-desktop { display: none; }
  .hero-mobile { display: none; }
  .hero-video-mobile {
    display: block;
    width: 100%;
    height: auto;
  }
  .hero-cta {
    bottom: 1.25rem;
    left: 0;
    right: 0;
    transform: none;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 240px;
    font-size: 0.875rem;
    padding: 0.6rem 1.25rem;
  }
}

/* Alert Warning Box */
.alert-box {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  background-color: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.alert-icon {
  font-size: 1.35rem;
  color: #d97706;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.alert-text {
  color: #78350f;
  font-size: 0.95rem;
  line-height: 1.5;
}

.alert-text strong {
  color: #451a03;
}

/* Grids */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-kits {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-content: center;
}

@media (min-width: 1024px) {
  .grid-kits {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Cards */
.card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(236, 72, 153, 0.3);
}

.card-header {
  padding: 1.25rem 1.25rem 0.75rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.35rem;
}

.card-image-wrapper {
  overflow: hidden;
  background-color: var(--bg-muted);
  padding: 0 1rem;
}

.card-image-wrapper.aspect-square {
  aspect-ratio: 1 / 1;
  padding: 0;
  margin: 0 1rem;
  border-radius: var(--radius-md);
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.4s ease;
}

.card:hover .card-image-wrapper img {
  transform: scale(1.05);
}

.card-body {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.card-footer {
  padding: 1.25rem;
  margin-top: auto;
}

/* Kits Section specific */
.section-kits {
  background-color: var(--pastel-pink);
}

.section-kits .section-title {
  color: var(--pastel-pink-foreground);
}

.section-kits .section-subtitle {
  color: rgba(131, 24, 67, 0.8);
}

/* Temas Mais Pedidos Carousel */
.section-carousel {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fdf2f8 100%);
  padding: 2.5rem 0 3rem;
}

.section-carousel .section-header {
  margin-bottom: 2rem;
}

.section-title-carousel {
  display: inline-block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #ec4899, #f59e0b, #ec4899, #8b5cf6, #ec4899);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: logo-shine 5s linear infinite;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0.75rem 0 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.carousel-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: carousel-scroll 22s linear infinite;
  will-change: transform;
}

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

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

.carousel-card {
  position: relative;
  width: 210px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.carousel-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 0.85rem;
}

.carousel-card-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  transform: translateY(6px);
  transition: transform 0.4s ease;
}

.carousel-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.carousel-card:hover img {
  transform: scale(1.08);
}

.carousel-card:hover .carousel-card-name {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .carousel-card {
    width: 160px;
  }
  .carousel-track {
    gap: 0.75rem;
  }
  .section-title-carousel {
    font-size: 1.6rem;
  }
  .section-infantil .section-title-infantil {
    font-size: 1.6rem;
  }
}

/* Temas Infantis Section specific */
.section-infantil {
  background: linear-gradient(180deg, #fff0f5 0%, #fef3f5 50%, #f1f5f9 100%);
}

.section-infantil .section-title-infantil {
  display: inline-block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, #ec4899, #f59e0b, #ec4899, #8b5cf6, #ec4899);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: logo-shine 5s linear infinite;
  text-shadow: none;
}

.grid-infantil {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-content: center;
}

@media (min-width: 1024px) {
  .grid-infantil {
    grid-template-columns: repeat(3, 1fr);
  }
}

.theme-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Como Funciona Section */
.section-como-funciona {
  background-color: var(--bg-main);
}

.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--bg-muted);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.step-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(236, 72, 153, 0.25);
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.step-icon {
  font-size: 1.35rem;
  color: var(--primary);
}

.step-title {
  font-size: 1.35rem;
  font-weight: 600;
}

.step-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .step-item {
    flex-direction: column;
    gap: 1rem;
  }
  .step-number {
    font-size: 3rem;
  }
}

/* Galeria Section */
.section-galeria {
  background-color: var(--pastel-blue);
}

.section-galeria .section-title {
  color: var(--pastel-blue-foreground);
}

.section-galeria .section-subtitle {
  color: rgba(30, 58, 138, 0.8);
}

.grid-galeria {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid-galeria {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transform: translateY(12px);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-title {
  transform: translateY(0);
}

/* FAQ Section */
.section-faq {
  background-color: var(--bg-main);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background-color: var(--bg-main);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: var(--bg-muted);
  color: var(--primary);
}

.accordion-icon {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background-color: var(--bg-muted);
}

.accordion-item.active .accordion-content {
  max-height: 300px;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.accordion-content p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* CTA Contact Banner Section */
.section-cta {
  padding: 4rem 0;
  background-color: #f8fafc;
}

.cta-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  max-width: 1000px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
  text-align: center;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 550px;
}

@media (max-width: 768px) {
  .cta-card {
    padding: 3rem 1.5rem;
  }
  .cta-title {
    font-size: 2rem;
  }
  .cta-desc {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
  }
}

@media (max-width: 640px) {
  .cta-card {
    padding: 2.25rem 1.25rem;
  }
  .cta-title {
    font-size: 1.75rem;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Section: Onde Estamos
   ========================================================================== */
.section-location {
  background-color: #ffffff;
  border-top: 1px solid var(--border);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.company-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.company-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.company-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.company-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.company-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.company-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.detail-icon {
  font-size: 1.2rem;
  color: var(--primary);
  width: 24px;
  text-align: center;
}

.detail-item a {
  color: var(--primary);
  font-weight: 600;
}

.detail-item a:hover {
  text-decoration: underline;
}

/* Review Box */
.review-box {
  background: linear-gradient(135deg, #ffffff 0%, #fff5f8 100%);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(236, 72, 153, 0.2);
  box-shadow: var(--shadow-md);
  text-align: left;
}

.stars-rating {
  display: flex;
  gap: 0.35rem;
  color: #f59e0b;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.review-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.review-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Google Review Button */
.btn-google-review {
  background: linear-gradient(135deg, #ec4899 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--transition);
  outline: none;
  text-decoration: none;
}

.btn-google-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.45);
  opacity: 0.95;
}

.btn-google-review:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* Google Map Wrapper */
.location-map {
  width: 100%;
}

.map-wrapper {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background-color: var(--bg-card);
  line-height: 0;
}

.map-wrapper iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
  border-radius: 18px;
}

/* Responsive Rules for Onde Estamos */
@media (max-width: 991px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-wrapper iframe {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .location-info {
    gap: 1.25rem;
  }

  .company-card, .review-box {
    padding: 1.5rem;
  }

  .btn-google-review {
    width: 100%;
  }

  .map-wrapper iframe {
    height: 320px;
  }
}

/* Footer */
.footer {
  background-color: #090d16;
  color: #94a3b8;
  padding-top: 4rem;
  border-top: 1px solid #1e293b;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-brand .logo {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h4, .footer-social h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: #1e293b;
  color: #ffffff;
  font-size: 1.25rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.social-handle {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 0.875rem;
}

/* Lightbox Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.modal-container {
  position: relative;
  z-index: 2001;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

#modalImg {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.modal-caption {
  margin-top: 1rem;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-glow 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--whatsapp-hover);
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .carousel-track {
    animation-duration: 60s !important;
    animation-iteration-count: infinite !important;
  }
}

/* ==========================================================================
   Theme Selection Modal
   ========================================================================== */
.theme-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.theme-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.theme-modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.theme-modal-content {
  position: relative;
  z-index: 3001;
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.theme-modal.active .theme-modal-content {
  transform: translateY(0);
}

.theme-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.theme-modal-close:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.theme-modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  text-align: center;
}

.theme-modal-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
}

.theme-categories {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.theme-category {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.theme-category-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-muted);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.theme-category-header i {
  color: var(--primary);
  font-size: 1.1rem;
}

.theme-category-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  padding: 1rem 1.25rem;
}

.theme-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
}

.theme-card-link img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.theme-card-link span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.theme-card-link:hover {
  border-color: var(--primary);
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.theme-card-link:hover span {
  color: var(--primary);
}

@media (max-width: 640px) {
  .theme-modal-content {
    padding: 2rem 1.25rem;
    max-height: 90vh;
  }

  .theme-modal-title {
    font-size: 1.4rem;
  }

  .theme-category-items {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .theme-card-link img {
    width: 60px;
    height: 60px;
  }

  .theme-card-link span {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Busca de Temas
   ========================================================================== */
.section-search {
  padding: 2rem 0 1rem;
  background: var(--bg-main);
}

.search-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.search-icon {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-right: 0.75rem;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.05rem;
  color: var(--text-dark);
  padding: 1rem 0;
  font-family: var(--font-body);
  width: 100%;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-clear {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.search-clear.visible {
  display: flex;
}

.search-clear:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.search-results {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.search-result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
  background: var(--white);
}

.search-result-card img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.search-result-card span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.search-result-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.search-result-card:hover span {
  color: var(--primary);
}

.search-not-found {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-top: 1rem;
}

.search-not-found i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.search-not-found h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.search-not-found p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.search-not-found .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 640px) {
  .section-search {
    padding: 1.5rem 0 0.5rem;
  }

  .search-results {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.5rem;
  }

  .search-result-card img {
    width: 55px;
    height: 55px;
  }

  .search-result-card span {
    font-size: 0.78rem;
  }
}
