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

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

:root {
  --background: 220 30% 98%;
  /* Light gray-blue background */
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  --primary: 190 90% 35%;
  /* Darker, richer cyan */
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --border: 214.3 31.8% 90%;
  --input: 214.3 31.8% 90%;
  --ring: 190 90% 35%;
  --radius: 0.75rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 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);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: hsl(var(--primary));
  text-decoration: none;
  letter-spacing: -0.025em;
}

.main-nav {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}

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

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 60;
}

.mobile-menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: hsl(var(--foreground));
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.cart-link {
  position: relative;
  color: hsl(var(--foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.cart-link:hover {
  background: hsl(var(--secondary));
  color: hsl(var(--primary));
  transform: translateY(-1px);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* User Menu */
.user-menu {
  position: relative;
}

.user-menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: 1px solid transparent;
  padding: 0.5rem 0.75rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.user-menu-toggle:hover {
  background: hsl(var(--secondary));
}

.user-menu-toggle .chevron {
  transition: transform 0.2s;
  color: hsl(var(--muted-foreground));
}

.user-menu.active .user-menu-toggle .chevron {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 220px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.user-menu:hover .user-dropdown,
.user-menu.active .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: hsl(var(--foreground));
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s;
  font-weight: 500;
}

.user-dropdown a:hover {
  background: hsl(var(--primary) / 0.08);
  color: hsl(var(--primary));
}

.user-dropdown a svg {
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.user-dropdown a:hover svg {
  color: hsl(var(--primary));
}

/* Auth Buttons Group */
.header-actions .btn {
  border-radius: 2rem;
  /* Pill shape for header buttons */
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.header-actions .btn svg {
  width: 16px;
  /* Slightly smaller icons */
  height: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.25rem;
  height: 2.75rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 4px 14px 0 rgba(0, 118, 255, 0.39);
}

.btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 118, 255, 0.23);
}

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

.btn-secondary:hover {
  background: hsl(var(--secondary) / 0.8);
}

.btn-outline {
  background: transparent;
  border: 2px solid hsl(var(--input));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
}

.btn-small {
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.875rem;
}

.btn-large {
  height: 3.5rem;
  padding: 0 2.5rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem;
  min-height: calc(100vh - 72px);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://pizzaria-boavista.site/public/abstract-ink-splash-pattern.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
  mix-blend-mode: overlay;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.15) 0%, transparent 60%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-highlight {
  background: linear-gradient(to right, #22d3ee, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Benefits */
.benefits {
  padding: 3rem 0;
  background: hsl(var(--background));
}

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

.benefit-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.9);
  border-color: hsl(var(--primary) / 0.3);
}

.benefit-icon {
  color: hsl(var(--primary));
  margin-bottom: 1.5rem;
  display: inline-flex;
  padding: 1rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: 50%;
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.benefit-card p {
  color: hsl(var(--muted-foreground));
  font-size: 1.05rem;
}

/* Products */
.products {
  padding: 6rem 0;
  background-color: #f8fafc;
  /* Slight contrast from white */
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #0f172a;
  letter-spacing: -0.03em;
  background: linear-gradient(to right, #0f172a, #334155);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 1.25rem;
  color: #64748b;
  line-height: 1.6;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.6);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(6, 182, 212, 0.3);
}

.product-image-wrapper {
  position: relative;
  padding-top: 100%;
  /* Square aspect ratio */
  overflow: hidden;
  background: #f1f5f9;
}

.product-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.btn-pill {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 700;
  font-size: 0.95rem;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .btn-pill {
  transform: translateY(0);
}

.btn-light {
  background: white;
  color: hsl(var(--primary));
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
}

.btn-light:hover {
  background: #f8fafc;
  color: hsl(var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: hsl(var(--primary));
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.product-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
  transition: color 0.2s;
}

.product-card:hover .product-title {
  color: hsl(var(--primary));
}

.product-price-tag {
  font-size: 1.1rem;
  font-weight: 800;
  color: hsl(var(--primary));
  white-space: nowrap;
  background: hsl(var(--primary) / 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
}

.product-description {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.product-action-mobile {
  margin-top: auto;
  display: none;
  /* Hidden by default, shown on mobile if no hover */
}

@media (max-width: 1024px) {
  .product-overlay {
    display: none;
    /* Disable overlay interaction on touch/small screens */
  }

  .product-action-mobile {
    display: block;
  }

  .product-image-wrapper img {
    transform: none !important;
  }

  .product-card:hover {
    transform: none;
  }
}

.section-footer {
  text-align: center;
  margin-top: 5rem;
}

/* Process */
.process {
  padding: 3rem 0;
  background: linear-gradient(to bottom, hsl(var(--muted) / 0.3), transparent);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 1rem;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, hsl(var(--primary)), #0ea5e9);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1rem;
  box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
}

.process-arrow {
  font-size: 1.5rem;
  color: hsl(var(--primary) / 0.5);
  margin-top: 1.5rem;
}

/* Portfolio */
.portfolio-preview {
  padding: 6rem 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

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

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
  color: white;
  padding: 2.5rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.4s 0.1s;
}

.portfolio-item:hover .portfolio-overlay h3 {
  transform: translateY(0);
}

/* CTA */
.cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, hsl(var(--primary)), #0284c7);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.cta h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.cta p {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn {
  background: white;
  color: hsl(var(--primary));
  font-weight: 700;
}

.cta .btn:hover {
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 5rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-description {
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

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

.footer-col h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}

.footer-links a:hover {
  color: hsl(var(--primary));
  transform: translateX(5px);
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #94a3b8;
}

.footer-contact svg {
  flex-shrink: 0;
  color: hsl(var(--primary));
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: white;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Page Hero */
.page-hero {
  padding: 6rem 0 4rem;
  text-align: center;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 60%);
  opacity: 0.5;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.page-hero p {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.page-hero.small-hero {
  padding: 4rem 0;
}

.page-hero.small-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0;
}

/* Services Page */
.services-main {
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 3rem;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: hsl(var(--primary) / 0.2);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: hsl(var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  color: hsl(var(--primary));
  margin-bottom: 2rem;
  width: 80px;
  height: 80px;
  background: hsl(var(--primary) / 0.05);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: hsl(var(--primary));
  color: white;
  transform: rotate(-5deg);
}

.service-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
}

.service-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #f1f5f9;
}

.service-features li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  color: #64748b;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: hsl(var(--primary));
  font-weight: bold;
}

/* Techniques Section */
.techniques {
  padding: 6rem 0;
  background: #f8fafc;
}

.techniques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.technique-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  border-left: 4px solid hsl(var(--primary));
}

.technique-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.technique-card p {
  color: #64748b;
  font-size: 0.95rem;
}

/* Products by Category */
.products-by-category {
  padding: 6rem 0;
}

.category-section {
  margin-bottom: 5rem;
}

.category-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-title::before {
  content: "";
  width: 12px;
  height: 12px;
  background: hsl(var(--primary));
  border-radius: 50%;
  display: block;
}

.products-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.product-item {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-details {
  padding: 1.5rem;
}

.product-details h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.product-details p {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.product-price-row .price {
  font-weight: 700;
  color: hsl(var(--primary));
}

/* Portfolio Page */
.portfolio-filters {
  padding: 2rem 0;
  background: white;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 72px;
  z-index: 40;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  background: #f1f5f9;
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: hsl(var(--primary));
  color: white;
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}

.portfolio-grid-section {
  padding: 4rem 0;
}

.portfolio-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2.5rem;
}

.portfolio-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.portfolio-card .portfolio-image {
  height: 300px;
  position: relative;
  overflow: hidden;
}

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

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

.badge-destaque {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: hsl(var(--primary));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.portfolio-card .portfolio-content {
  padding: 2rem;
}

.portfolio-category {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--primary));
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.portfolio-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.portfolio-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.stats {
  padding: 6rem 0;
  background: #0f172a;
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  color: #94a3b8;
}

.testimonials {
  padding: 6rem 0;
  background: #f8fafc;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-card p {
  font-size: 1.125rem;
  color: #475569;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.testimonial-author strong {
  display: block;
  color: #0f172a;
  font-size: 1.125rem;
}

.testimonial-author span {
  color: #64748b;
  font-size: 0.9rem;
}

/* Contact Page */
.contact-section {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
}

.contact-form-wrapper {
  background: white;
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
}

.contact-form-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.form-subtitle {
  color: #64748b;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #334155;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
  background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: hsl(var(--primary));
  background: white;
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  background: #0f172a;
  color: white;
  padding: 3rem;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, hsl(var(--primary) / 0.2) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.contact-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: hsl(var(--primary));
}

.contact-details strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-details p {
  color: #94a3b8;
  line-height: 1.6;
}

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

.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s;
}

.social-icon:hover {
  background: hsl(var(--primary));
  transform: translateY(-3px);
}

.map-section {
  height: 450px;
  background: hsl(var(--muted));
}

.map-wrapper {
  height: 100%;
  width: 100%;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Policy Pages */
.policy-content {
  padding: 4rem 0;
}

.policy-card {
  background: white;
  padding: 4rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.policy-card h2 {
  font-size: 1.75rem;
  color: #0f172a;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p {
  color: #475569;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.policy-card ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #475569;
}

.policy-card li {
  margin-bottom: 0.5rem;
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsl(var(--background));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid hsl(var(--muted));
  border-top: 4px solid hsl(var(--primary));
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    gap: 0;
    z-index: 40;
  }

  .main-nav.show {
    display: flex;
    animation: menuSlideDown 0.3s ease-out forwards;
  }

  @keyframes menuSlideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-link {
    padding: 1rem;
    border-bottom: 1px solid hsl(var(--border));
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Responsive Header Actions */
  .header-actions {
    gap: 0.5rem;
  }

  .header-actions .btn {
    padding: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 0;
    /* Hide text */
    justify-content: center;
    min-width: unset;
  }

  .header-actions .btn svg {
    margin: 0;
    width: 20px;
    height: 20px;
  }

  /* Adjust User Menu for Mobile */
  .user-menu-toggle span {
    display: none;
    /* Hide username on mobile */
  }

  .user-menu-toggle {
    padding: 0.25rem;
    gap: 0;
  }

  .user-menu-toggle svg.chevron {
    display: none;
  }

  .hero {
    padding: 6rem 1rem 4rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .portfolio-grid-large {
    grid-template-columns: 1fr;
  }

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

  .policy-card {
    padding: 2rem;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 1rem 0;
    font-size: 0;
    /* Oculta a seta original (→) */
  }

  .process-arrow::before {
    content: '↓';
    font-size: 2.5rem;
    /* Define tamanho visível para a nova seta */
    color: hsl(var(--primary));
    display: block;
  }

  /* Responsive Footer */
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  /* Responsive Grids */
  .products-grid,
  .services-grid,
  .benefits-grid,
  .tips-grid,
  .features-grid {
    grid-template-columns: 1fr;
    /* Force single column on mobile/tablet */
    gap: 2rem;
  }

  /* Typography Adjustments */
  .section-header h2 {
    font-size: 2.25rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  /* Spacing Adjustments */
  .products,
  .services-main,
  .portfolio-preview,
  .testimonials,
  .cta,
  .contact-section {
    padding: 4rem 1rem;
    /* Reduce vertical padding */
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }
}

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

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    /* Full width buttons on very small screens */
  }

  .benefit-card,
  .product-card,
  .service-card,
  .testimonial-card,
  .portfolio-card {
    padding: 1.5rem;
    /* Reduce card padding */
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .header-actions {
    gap: 0.25rem;
  }
}

@import url("product-modal.css");