:root {
    --primary: #1A1A1A; /* Fundo preto */
    --secondary: #FF0000; /* Vermelho vibrante para destaque */
    --secondary-hover: #CC0000; /* Vermelho mais escuro para hover */
    --accent: #F59E0B; /* Âmbar para alertas */
    --neutral-light: #FFFFFF; /* Branco/cinza claro para o texto */
    --metallic: #B7C0C7;
    --neutral-dark: #2C2C2C;
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--neutral-light);
    background-color: var(--primary);
}
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}
.text-primary { color: var(--neutral-light); }
.bg-primary { background-color: var(--primary); }
.text-secondary { color: var(--secondary); }
.bg-secondary { background-color: var(--secondary); }
.bg-secondary:hover { background-color: var(--secondary-hover); }
.border-secondary { border-color: var(--secondary); }
.border-neutral-dark { border-color: var(--neutral-dark); }
.bg-accent { background-color: var(--accent); }
.text-metallic { color: var(--metallic); }
.text-neutral-light { color: var(--neutral-light); }
.bg-neutral-dark { background-color: var(--neutral-dark); }
.gallery-cell {
  width: 100%;
  height: 500px;
  margin-right: 0;
  border-radius: 5px;
}
.gallery-cell img {
  object-fit: contain;
}

@media (max-width: 768px) {
  .gallery-cell {
    height: 300px;
  }
}

.before-after-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}
.before-after-container img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
}
.before-after-container .after-image {
    position: absolute;
    top: 0;
    right: 0;
        width: 70%;
    height: 100%;
    overflow: hidden;
}
.before-after-container .after-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}
.before-after-container .divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: white;
    z-index: 10;
    cursor: ew-resize;
}
.before-after-container .divider::before {
    content: '↔️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--secondary);
    color: var(--primary);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
}
.before-after-container:hover .divider::before {
    background: var(--secondary-hover);
}
/* Sticky Bar */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.loading-animation {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--secondary);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

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

/* Mobile-first: esconde no desktop */

@media (max-width: 1023px) {
    .flickity-page-dots,
    .flickity-prev-next-button {
        display: none;
    }
    .swipe-indicator {
    display: flex; /* Exibido em telas menores */
    align-items: center;
    justify-content: center;
  }
}

/* Desktop: adaptações */
@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    .hero-text {
        grid-column: 1 / 2;
    }
    .hero-image {
        grid-column: 2 / 3;
    }
    .service-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .flickity-page-dots {
        bottom: -25px;
    }
    .flickity-page-dots .dot {
        background: white;
        opacity: 0.5;
    }
    .flickity-page-dots .dot.is-selected {
        opacity: 1;
        background: var(--secondary);
    }
    .flickity-prev-next-button {
        background: white;
        color: black;
    }
}

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

.whatsapp-button {
    animation: pulse 2s infinite;
}

.swipe-indicator {
  display: none; /* Oculto por padrão */
  color: #fff;
  font-size: 1rem;
  text-align: center;
  margin-top: 2rem;
}

.swipe-indicator i {
  animation: swipe 1.5s infinite;
  margin-right: 8px;
}

@keyframes swipe {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

@media (max-width: 768px) {
  .swipe-indicator {
    display: block; /* Exibido em telas menores */
  }
}

#orcamento {
    background-color: var(--neutral-dark);
}