/* Stylesheet for Stalltech Landing Page Redesign */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-brand: #f22a5e;
  --color-brand-hover: #d01c4a;
  --color-bg-dark: #100916;
  --color-bg-light: #ffffff;
  --color-bg-gray: #f8f9fa;
  --color-text-dark: #1e1e1e;
  --color-text-muted: #5e6e7e;
  --color-text-light: #ffffff;
  --color-green: #00d154;
  --color-green-hover: #00b045;
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(242, 42, 94, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
}

p {
  font-weight: 400;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-bg-gray {
  background-color: var(--color-bg-gray);
}

.section-bg-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-brand);
  border-radius: 2px;
}

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

.section-bg-dark .section-subtitle {
  color: #a097a8;
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-bg-dark);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled {
  background-color: #0c0612;
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

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

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

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

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
}

.btn-brand {
  background-color: var(--color-brand);
  color: var(--color-text-light);
  box-shadow: 0 4px 15px rgba(242, 42, 94, 0.3);
}

.btn-brand:hover {
  background-color: var(--color-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 42, 94, 0.4);
}

.btn-white {
  background-color: var(--color-text-light);
  color: var(--color-brand);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--color-brand);
  color: var(--color-text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 42, 94, 0.3);
}

.btn-green {
  background-color: var(--color-green);
  color: var(--color-text-light);
  box-shadow: 0 4px 15px rgba(0, 209, 84, 0.3);
}

.btn-green:hover {
  background-color: var(--color-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 209, 84, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-text-light);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  background-color: var(--color-bg-dark);
  background-image: radial-gradient(circle at 80% 20%, rgba(242, 42, 94, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(242, 42, 94, 0.08) 0%, transparent 50%);
  color: var(--color-text-light);
  position: relative;
  overflow: visible; /* Permitir que a imagem respire sem cortes */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-tagline {
  color: var(--color-brand);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--color-brand);
}

.hero p {
  font-size: 1.2rem;
  color: #c4bcd0;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible; /* Garantir que o container da imagem não a corte */
}

.hero-image img.main-illustration {
  width: 100%;
  max-width: 100%; /* Ocupar o espaço do grid proporcionalmente sem cortes */
  height: auto;
  object-fit: contain; /* Conter a imagem por completo */
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  animation: float 6s ease-in-out infinite;
}

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

/* Services Section (Cards) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.service-card {
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(242, 42, 94, 0.1);
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(242, 42, 94, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--color-brand);
}

.service-card:hover .service-icon-wrapper i {
  color: var(--color-text-light) !important;
}

.service-card img.service-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: var(--transition);
}

.service-card:hover img.service-icon {
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

/* Banner CTA Section (Pink Section) */
.banner-cta {
  background-color: var(--color-brand);
  background-image: linear-gradient(135deg, var(--color-brand) 0%, #d01c4a 100%);
  color: var(--color-text-light);
  padding: 80px 0;
  text-align: center;
}

.banner-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.banner-cta p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
}

/* Solutions Section (Grid Layout) */
.solutions-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.solutions-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.solutions-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.solution-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-bg-light);
  padding: 16px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.solution-item span.icon {
  color: var(--color-brand);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-item span.text {
  font-weight: 500;
  font-size: 0.95rem;
}

/* IT Section */
.it-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.it-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.it-content p {
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.it-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.it-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}

.it-list li::before {
  content: '✓';
  color: var(--color-brand);
  font-weight: bold;
}

.partners-logo {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 24px;
}

.partners-logo h4 {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.partners-images {
  display: flex;
  gap: 24px;
  align-items: center;
}

.partners-images img {
  height: 36px;
  width: auto;
  opacity: 0.7;
  transition: var(--transition);
}

.partners-images img:hover {
  opacity: 1;
}

.it-image {
  position: relative;
}

.it-image img.main-it-img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

/* B2B / Stalltech Empresas */
.b2b-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.b2b-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.b2b-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.b2b-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.b2b-feature {
  display: flex;
  gap: 16px;
}

.b2b-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(242, 42, 94, 0.08);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.b2b-feature-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.b2b-feature-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.b2b-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

/* Contact / Form Section */
.contact-section {
  background-color: var(--color-bg-gray);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--color-bg-light);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.02);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(242, 42, 94, 0.08);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-card-details h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-card-details p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.form-container {
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--color-bg-gray);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--color-brand);
  background-color: var(--color-bg-light);
  box-shadow: 0 0 0 3px rgba(242, 42, 94, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.form-checkbox input {
  margin-top: 4px;
}

.form-submit-btn {
  width: 100%;
  margin-top: 20px;
}

.form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  background-color: rgba(0, 209, 84, 0.1);
  color: var(--color-green);
  display: block;
}

.form-message.error {
  background-color: rgba(242, 42, 94, 0.1);
  color: var(--color-brand);
  display: block;
}

/* Footer */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 60px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 0.9rem;
  color: #a097a8;
}

.footer-link:hover {
  color: var(--color-brand);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #7b7185;
}

/* Responsiveness */
@media (max-width: 992px) {
  .hero-grid, .solutions-layout, .it-section, .b2b-layout, .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .it-image {
    order: -1;
  }
  
  .solutions-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 70px;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--color-bg-dark);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero {
    padding-top: 140px;
    padding-bottom: 60px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .banner-cta h2 {
    font-size: 1.8rem;
  }
  
  .footer-layout {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}

/* Floating WhatsApp Button with Pulse effect */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 1;
  animation: pulse-ring 2s infinite ease-in-out;
  pointer-events: none;
  box-sizing: border-box;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}

/* Developer Credit Style with premium highlight */
.developer-credit {
  margin-top: 24px;
  font-size: 0.85rem;
  color: #a097a8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.04);
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.developer-credit i {
  color: var(--color-brand);
  font-size: 0.95rem;
}

.developer-credit a {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--color-brand);
  padding-bottom: 1px;
  transition: var(--transition);
}

.developer-credit a:hover {
  color: var(--color-brand);
  border-bottom-color: #ffffff;
  transform: translateY(-1px);
}
