/* ==========================================================================
   CSS Variaveis (Design Tokens)
   ========================================================================== */
:root {
  /* Cores - Baseadas no Logotipo (Vermelho, Branco, Preto) */
  --primary: hsl(0, 86%, 45%); /* Vermelho Zelo */
  --primary-hover: hsl(0, 86%, 35%);
  --primary-light: hsl(0, 86%, 96%); /* Fundo de destaque bem claro */
  --foreground: hsl(0, 0%, 10%); /* Texto principal preto puro/escuro */
  --muted: hsl(0, 0%, 97%); /* Fundo alternativo muito claro/quase branco */
  --muted-foreground: hsl(0, 0%, 40%); /* Texto secundário */
  --background: hsl(0, 0%, 100%); /* Branco puro */
  --border: hsl(0, 0%, 90%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(0, 0%, 10%);
  --whatsapp: #25D366;
  --whatsapp-hover: #128C7E;

  /* Tipografia */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Espaçamentos e Raios */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Transições */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ==========================================================================
   Layout Utils
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 1rem;
}

@media (min-width: 640px) {
  .section {
    padding: 6rem 1rem;
  }
}

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

/* ==========================================================================
   Tipografia Utils
   ========================================================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.heading-1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--foreground);
}

.heading-2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .heading-1 { font-size: 4rem; }
  .heading-2 { font-size: 2.5rem; }
}

.subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .subtitle { font-size: 1.25rem; }
}

/* ==========================================================================
   Componentes
   ========================================================================== */

/* Navbar Glassmorphism */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-normal);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 2.8rem;
  width: auto;
  object-fit: contain;
}

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

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  outline: none;
}

.btn:focus-visible {
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--primary);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(204, 0, 0, 0.15);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(204, 0, 0, 0.2);
}

.btn-outline {
  background-color: var(--background);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--muted);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.39);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-lg {
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

/* Tags/Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--primary);
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--whatsapp);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3), 0 4px 6px -2px rgba(37, 211, 102, 0.15);
  z-index: 99;
  transition: all var(--transition-normal);
  animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-4px);
  background-color: var(--whatsapp-hover);
}

.floating-whatsapp svg {
  width: 2rem;
  height: 2rem;
}

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

/* ==========================================================================
   Sections Layout
   ========================================================================== */

/* Hero */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
  background-color: var(--background);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.hero-feature svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-bg {
  position: absolute;
  inset: -1rem;
  border-radius: var(--radius-2xl);
  background-color: var(--primary-light);
  transform: rotate(5deg) scale(1.05);
  z-index: -1;
}

.hero-image {
  width: 100%;
  max-width: 28rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  background-color: var(--card);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.hero-image-caption {
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  border-top: 1px solid var(--border);
  background-color: var(--card);
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

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

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

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-color: var(--border);
}

.service-icon {
  margin-bottom: 1.25rem;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background-color: var(--primary-light);
  color: var(--primary);
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-desc {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

/* CTA Block (Diferenciais) */
.cta-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .cta-grid { grid-template-columns: 1fr 1fr; }
}

.diff-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .diff-list { grid-template-columns: 1fr 1fr; }
}

.diff-item {
  display: flex;
  gap: 1rem;
}

.diff-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.diff-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.diff-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.cta-box {
  background-color: var(--primary);
  color: white;
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.cta-box .btn-white {
  background-color: white;
  color: var(--primary);
  width: 100%;
}

.cta-box .btn-white:hover {
  background-color: var(--muted);
}

.cta-box .btn-outline-white {
  background-color: transparent;
  color: white;
  border: 1px solid white;
  width: 100%;
}

.cta-box .btn-outline-white:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Reviews */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background-color: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  margin-bottom: 1rem;
}

.google-badge svg {
  width: 1rem;
  height: 1rem;
}

.stars {
  display: flex;
  gap: 2px;
  color: #FBBC05;
}

.stars svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.review-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.review-text {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

/* Trabalhos */
.work-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.work-card {
  background-color: var(--card);
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

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

.work-card-content {
  padding: 1rem;
}

.work-card-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.work-card-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Móveis Comprados Online */
.online-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .online-grid { grid-template-columns: 1fr 1fr; }
}

.check-list {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

.check-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

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

.store-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.store-card:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

/* Info Box (Horários/Local) */
.info-grid {
  display: grid;
  gap: 2rem;
  max-width: 896px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
}

.info-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-item svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--muted-foreground);
}

.hours-row {
  display: flex;
  justify-content: space-between;
}

.hours-row span:last-child {
  font-weight: 500;
  color: var(--foreground);
}

/* Footer */
.footer {
  background-color: var(--foreground);
  color: var(--background);
  padding: 4rem 1rem 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.footer-brand img {
  height: 2.8rem;
  width: auto;
  object-fit: contain;
}

.footer-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Responsive Utilities */
.hidden { display: none; }
@media (min-width: 640px) {
  .sm\:inline-flex { display: inline-flex; }
  .sm\:hidden { display: none; }
}
