/* Deprecated badge-whatsapp styles removed from here */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--dark);
    font-size: 12px;
    font-weight: bold;
}



.btn-whatsapp,
.whatsapp-float {
    background-color: #25D366 !important;
    color: #fff !important;
    border: none;
    animation: pulse 2s infinite;
}

.btn-whatsapp:hover,
.whatsapp-float:hover {
    background-color: #20ba5a !important;
    color: #fff !important;
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.12);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* ============================================
   SÉRGIO BATERIAS AUTOMOTIVAS - STYLESHEET
   Modern, Premium, Performance-Optimized CSS
   ============================================ */

/* ============================================
   CUSTOM PROPERTIES (CSS VARIABLES)
   Design System Foundation
   ============================================ */
:root {
    /* Primary Colors */
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #ef4444;
    --secondary: #f59e0b;
    --accent: #22c55e;

    /* Neutral Colors */
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748b;
    --gray-400: #94a3b8;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', var(--font-primary);

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Font Weights */
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Z-Index Scale */
    --z-base: 1;
    --z-sticky: 10;
    --z-header: 50;
    --z-float: 100;
    --z-modal: 1000;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /* scroll-behavior managed by JS smoothScrollTo for better control */
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--fw-normal);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

p {
    margin-bottom: var(--spacing-md);
}

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

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

/* Visually hidden utility for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    background-color: var(--white);
    transition: all var(--transition-base);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: var(--dark);
}

.logo-icon {
    font-size: var(--text-2xl);
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.btn-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: var(--fw-semibold);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

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

.btn-header .icon {
    width: 18px;
    height: 18px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger {
    width: 24px;
    height: 2px;
    background-color: var(--dark);
    transition: all var(--transition-base);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    z-index: calc(var(--z-header) - 1);
    padding-top: 80px;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.mobile-nav-link {
    padding: var(--spacing-lg) 0;
    color: var(--white);
    font-size: var(--text-xl);
    font-weight: var(--fw-semibold);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.mobile-nav-link:hover {
    color: var(--primary);
    padding-left: var(--spacing-md);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: var(--fw-semibold);
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    min-height: 44px;
    position: relative;
    z-index: 100;
    overflow: hidden;
    /* for shine effect */
}

.btn .icon {
    width: 20px;
    height: 20px;
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--text-lg);
}

.btn-lg .icon {
    width: 24px;
    height: 24px;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

/* Subtle shine sweep on hover (micro-interaction) */
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 20%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
    transform: translateX(-150%) skewX(-20deg);
    transition: transform var(--transition-slow);
    pointer-events: none;
}

.btn:hover::after {
    transform: translateX(300%) skewX(-20deg);
}

.btn:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.btn:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    .btn,
    .btn::after,
    .animate-fade-in,
    [data-animate="fade-in"],
    .whatsapp-float {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    .btn::after {
        display: none;
    }
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    margin-top: 70px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    isolation: isolate;
    /* create new stacking context to control z-index layers */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    /* performance hint for parallax */
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.0) 40%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
    z-index: 1;
    /* above background, below content */
}

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

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: #f59e0b;
    display: block;
}

.hero-subtitle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background-color: rgba(245, 158, 11, 0.9);
    /* secondary */
    color: #0f172a;
    /* dark text for contrast */
    font-size: 0.875rem;
    font-weight: 800;
}

.badge:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 1;
}

.animate-fade-in:nth-child(1) {
    animation-delay: 0s;
}

.animate-fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-fade-in:nth-child(3) {
    animation-delay: 0.4s;
}

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

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

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    padding: var(--spacing-3xl) 0;
    background-color: var(--gray-100);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: var(--fw-bold);
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat-suffix {
    font-size: var(--text-3xl);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
}

/* ============================================
   DIFERENCIAIS SECTION
   ============================================ */
.diferenciais {
    padding: var(--spacing-4xl) 0;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.diferencial-card {
    padding: var(--spacing-2xl);
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.diferencial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.diferencial-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.diferencial-card:hover .diferencial-icon {
    transform: scale(1.1) rotate(5deg);
}

.diferencial-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.diferencial-title {
    text-align: center;
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

.diferencial-description {
    text-align: center;
    color: var(--gray-600);
    font-size: var(--text-base);
    line-height: 1.6;
}

/* ============================================
   SERVICOS SECTION
   ============================================ */
.servicos {
    padding: var(--spacing-4xl) 0;
    background-color: var(--gray-100);
}

.servicos-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

.servico-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    padding: var(--spacing-2xl);
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.servico-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
}

.servico-item-reverse {
    grid-template-columns: 1fr auto;
}

.servico-item-reverse .servico-icon {
    order: 2;
}

.servico-item-reverse .servico-content {
    order: 1;
}

.servico-item-reverse:hover {
    transform: translateX(-10px);
}

.servico-icon {
    width: 80px;
    height: 80px;
    padding: var(--spacing-lg);
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.servico-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
}

.servico-title {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.servico-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   COMO FUNCIONA SECTION
   ============================================ */
.como-funciona {
    padding: var(--spacing-4xl) 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.step {
    position: relative;
    text-align: center;
    padding: var(--spacing-2xl);
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-bold);
    font-size: var(--text-lg);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: var(--spacing-2xl) auto var(--spacing-lg);
    padding: var(--spacing-xl);
    background-color: var(--gray-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.step:hover .step-icon {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.step-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary);
    transition: all var(--transition-base);
}

.step:hover .step-icon svg {
    stroke: var(--white);
}

.step-title {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

.step-description {
    color: var(--gray-600);
    line-height: 1.6;
}

.step-connector {
    display: none;
}

/* ============================================
   DEPOIMENTOS SECTION
   ============================================ */
.depoimentos {
    padding: var(--spacing-4xl) 0;
    background-color: var(--gray-100);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.depoimento-card {
    padding: var(--spacing-2xl);
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

.depoimento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(245, 158, 11, 0.05));
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.depoimento-card:hover::before {
    opacity: 1;
}

.depoimento-rating {
    display: flex;
    gap: 4px;
    margin-bottom: var(--spacing-lg);
}

.star {
    color: #fbbf24;
    font-size: var(--text-xl);
    transition: transform var(--transition-fast);
}

.depoimento-card:hover .star {
    transform: scale(1.15) rotate(-5deg);
}

.depoimento-card:focus-within {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

.depoimento-text {
    font-size: var(--text-base);
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-bold);
    font-size: var(--text-base);
}

.author-name {
    font-weight: var(--fw-semibold);
    color: var(--dark);
    font-size: var(--text-base);
}

.author-location {
    font-size: var(--text-sm);
    color: var(--gray-600);
}

/* ============================================
   CTA FINAL SECTION
   ============================================ */
.cta-final {
    padding: var(--spacing-4xl) 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.cta-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-400);
    margin-bottom: var(--spacing-2xl);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.cta-hours {
    font-size: var(--text-lg);
    color: var(--secondary);
    font-weight: var(--fw-semibold);
    margin: 0;
}

/* ============================================
   MAPA SECTION
   ============================================ */
.mapa-section {
    padding: var(--spacing-4xl) 0;
    background-color: var(--gray-100);
}

.mapa-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--spacing-2xl);
}

.mapa-container iframe {
    display: block;
    width: 100%;
}

.mapa-info {
    text-align: center;
    padding: var(--spacing-2xl);
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.mapa-text {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--gray-700);
    margin: 0;
}

.mapa-text strong {
    color: var(--dark);
    font-weight: var(--fw-semibold);
}

/* ============================================
   CONTATO SECTION
   ============================================ */
.contato {
    padding: var(--spacing-4xl) 0;
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-2xl);
}

.contato-item {
    text-align: center;
    padding: var(--spacing-2xl);
}

.contato-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contato-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
    fill: var(--white);
}

.contato-title {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-md);
    color: var(--dark);
}

.contato-link {
    font-size: var(--text-lg);
    color: var(--primary);
    font-weight: var(--fw-semibold);
    transition: all var(--transition-base);
}

.contato-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--spacing-2xl) 0;
    background-color: var(--dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.footer-text {
    color: var(--gray-400);
    font-size: var(--text-sm);
    margin: 0;
}

.back-to-top {
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-2xl);
    z-index: var(--z-float);
    transition: all var(--transition-base);
    animation: pulse 2s infinite;
}

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

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-animate="fade-in"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

[data-animate="fade-in"].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   Mobile-First Approach
   ============================================ */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 640px) {
    :root {
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --spacing-4xl: 3rem;
    }

    .btn-header .btn-text {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        /* Remove 100vh constraint for better mobile flow */
        padding: 2rem 0 3rem;
        /* Tighter top padding */
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .servico-item,
    .servico-item-reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .servico-icon {
        margin: 0 auto;
    }

    .servico-item-reverse .servico-icon {
        order: 0;
    }

    .servico-item-reverse .servico-content {
        order: 1;
    }

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

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

    .cta-buttons {
        flex-direction: column;
    }

    .whatsapp-float {
        bottom: var(--spacing-lg);
        right: var(--spacing-lg);
        width: 56px;
        height: 56px;
    }

    .mapa-container iframe {
        height: 300px;
    }

    .mapa-text {
        font-size: var(--text-base);
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 641px) and (max-width: 1023px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
    .steps {
        display: flex;
        position: relative;
    }

    .step-connector {
        display: block;
        position: relative;
        flex-shrink: 0;
        width: 80px;
        height: 2px;
        background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
        margin-top: 120px;
    }

    .step-connector::after {
        content: '→';
        position: absolute;
        right: -15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: var(--text-2xl);
        color: var(--secondary);
    }
}

/* Print styles */
@media print {

    .header,
    .whatsapp-float,
    .mobile-menu,
    .cta-final {
        display: none;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Additional Mobile Enhancements */
@media (max-width: 640px) {

    /* Card Enhancements for Mobile */
    .diferencial-card,
    .depoimento-card,
    .servico-item {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        /* Softer shadow */
        border: 1px solid var(--gray-100);
    }

    /* Input UX: Prevent Zoom on iOS and improve touch area */
    .hero-input {
        font-size: 16px !important;
        /* Prevents zoom */
        padding: 16px !important;
    }
}

/* ============================================
   TOP BAR URGENCY
   ============================================ */
.top-bar {
    background-color: #000;
    color: #fff;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 60;
    /* Higher than header */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 12px;
        height: auto;
        padding: 10px 0;
        position: relative;
        /* Change from fixed to relative to avoid overlap */
    }

    .header {
        top: 0 !important;
        /* Ensure it sticks to top */
        position: sticky;
    }
}

.top-bar-text {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.top-bar-link {
    color: var(--secondary);
    font-weight: var(--fw-bold);
    text-decoration: underline;
}

.top-bar-link:hover {
    color: var(--white);
}

/* Update Header to sit below Top Bar */
.header {
    top: 40px !important;
}

/* Update Mobile Menu to sit below Header */
.mobile-menu {
    padding-top: 120px !important;
}

/* Update Hero margin */
.hero {
    margin-top: 110px !important;
}

/* ============================================
   PAGAMENTO SECTION
   ============================================ */
.pagamento {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
    border-top: 1px solid var(--gray-200);
}

.pagamento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.pagamento-item {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.pagamento-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: #fff;
    border: 1px solid var(--gray-200);
}

.pagamento-icon-wrapper {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    width: 60px;
    height: 60px;
    background-color: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    transition: all var(--transition-base);
}

.pagamento-item:hover .pagamento-icon-wrapper {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.pagamento-item h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-xs);
    color: var(--dark);
}

.pagamento-item p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-bottom: 0;
}

.bandeiras {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--gray-500);
    font-weight: var(--fw-medium);
    margin-top: var(--spacing-lg);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: var(--spacing-4xl) 0;
    background-color: var(--gray-100);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: var(--spacing-lg);
    font-weight: var(--fw-semibold);
    font-size: var(--text-lg);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
    transition: background-color var(--transition-base);
}

.faq-question:hover {
    background-color: var(--gray-50);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform var(--transition-base);
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--gray-600);
    line-height: 1.6;
    border-top: 1px solid var(--gray-100);
}

/* ============================================
   MARCAS (BRANDS) SECTION
   ============================================ */
.marcas {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.marcas-title {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-lg);
    font-weight: var(--fw-bold);
}

.marcas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-xl);
    opacity: 0.7;
}

.marca-item {
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: var(--gray-400);
    font-family: var(--font-heading);
    transition: all var(--transition-base);
    cursor: default;
}

.marca-item:hover {
    color: var(--primary);
    transform: scale(1.05);
    opacity: 1;
}

/* ============================================
   HERO INPUT
   ============================================ */
.hero-input-group {
    margin: var(--spacing-lg) auto;
    max-width: 500px;
    /* Increased from 400px */
    width: 90%;
    /* Ensure it doesn't overflow on small screens */
    position: relative;
    z-index: 10;
}

.hero-input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    /* Increased padding */
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    /* Increased visibility */
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.1rem;
    /* Increased font size */
    transition: all var(--transition-base);
    text-align: center;
}

.hero-input::placeholder {
    color: rgba(255, 255, 255, 0.9);
    /* Increased contrast */
}

.hero-input:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

/* ============================================
   STICKY MOBILE FOOTER
   ============================================ */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 12px var(--spacing-md);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
    /* Hidden on desktop */
    justify-content: space-between;
    gap: var(--spacing-md);
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    backdrop-filter: blur(12px);
    /* Premium glass effect */
    background-color: rgba(255, 255, 255, 0.95);
    /* Slight transparency */
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius-lg);
    font-weight: var(--fw-bold);
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s;
}

.sticky-btn:active {
    transform: scale(0.98);
}

.sticky-btn-phone {
    background-color: var(--dark);
    /* Changed from gray-100 for better contrast */
    color: var(--white);
    border: 1px solid var(--gray-700);
}

.sticky-btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    animation: pulse-soft 2s infinite;
}

@keyframes pulse-soft {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.sticky-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .sticky-footer {
        display: flex;
    }

    /* Hide floating button on mobile to avoid overlap */
    .whatsapp-float {
        display: none;
    }

    /* Add padding to body so footer doesn't cover content */
    body {
        padding-bottom: 80px;
    }
}

.desktop-only {
    display: flex;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}

/* ============================================
   PROMO POPUP
   ============================================ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid var(--gray-100);
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-400);
    transition: all 0.2s;
}

.popup-close:hover {
    background-color: var(--gray-100);
    color: var(--primary);
}

.popup-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.popup-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #fee2e2;
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.popup-body {
    text-align: center;
    margin-bottom: 1.5rem;
}

.popup-image {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    margin-bottom: 1rem;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.popup-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.popup-currency {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-top: 8px;
}

.popup-condition {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 400;
    margin-left: 8px;
    transform: translateY(6px);
}

.popup-desc {
    color: var(--gray-600);
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.popup-note {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 0.75rem;
}

/* Mobile Bottom Sheet */
@media (max-width: 640px) {
    .popup-overlay {
        align-items: flex-end;
    }

    .popup-container {
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        padding: 1.5rem;
        transform: translateY(100%);
    }

    .popup-overlay.active .popup-container {
        transform: translateY(0);
    }
}

/* ============================================
   HERO SOCIAL PROOF & MICRO-COPY
   ============================================ */
.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-social-proof .stars {
    color: #f59e0b;
    letter-spacing: 1px;
}

.hero-social-proof .rating-text {
    color: rgba(255, 255, 255, 0.7);
}

.hero-input-helper {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* content-visibility for below-fold sections (paint performance) */
.marcas,
.stats,
.diferenciais,
.servicos,
.pagamento,
.como-funciona,
.depoimentos,
.faq,
.mapa-section,
.contato {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

/* Top bar open/closed status dot */
.top-bar-text .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================
   POPUP ENHANCEMENTS — countdown, social proof
   ============================================ */
.popup-social-proof {
    margin-top: 0.6rem;
    font-size: 0.82rem;
    color: var(--gray-600);
    background: #fff7ed;
    border-radius: var(--radius-full);
    padding: 0.3rem 0.9rem;
    display: inline-block;
}

.popup-countdown {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 500;
}

.popup-timer-value {
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
    transition: color 0.4s ease;
}

.popup-timer-value.urgent {
    color: #dc2626;
    animation: timerPulse 0.8s infinite;
}

@keyframes timerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Exit-intent: shake animation on popup entry */
.popup-container.shake {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: scale(1) translateX(0); }
    20%       { transform: scale(1.02) translateX(-6px); }
    40%       { transform: scale(1.02) translateX(6px); }
    60%       { transform: scale(1.02) translateX(-4px); }
    80%       { transform: scale(1.02) translateX(4px); }
}