/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Design System - Retok Funilaria e Pintura */
:root {
    /* Base colors */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(220, 13%, 18%);

    /* Cards */
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(220, 13%, 18%);

    /* Primary: Professional automotive blue */
    --primary: hsl(221, 83%, 53%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-hover: hsl(221, 83%, 48%);

    /* Secondary: Premium gray */
    --secondary: hsl(220, 14%, 96%);
    --secondary-foreground: hsl(220, 13%, 18%);

    /* Muted */
    --muted: hsl(220, 14%, 96%);
    --muted-foreground: hsl(220, 9%, 46%);

    /* Accent: Energy orange for CTAs */
    --accent: hsl(24, 95%, 53%);
    --accent-foreground: hsl(0, 0%, 100%);
    --accent-hover: hsl(24, 95%, 48%);

    /* Success: Trust green */
    --success: hsl(142, 71%, 45%);
    --success-foreground: hsl(0, 0%, 100%);

    /* Warning */
    --warning: hsl(38, 92%, 50%);
    --warning-foreground: hsl(0, 0%, 100%);

    /* Destructive */
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 100%);

    /* Border */
    --border: hsl(220, 13%, 91%);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(221, 83%, 53%), hsl(221, 83%, 48%));
    --gradient-cta: linear-gradient(135deg, hsl(24, 95%, 53%), hsl(24, 95%, 48%));

    /* Shadows */
    --shadow-soft: 0 2px 8px -1px hsl(220, 13%, 18%, 0.1);
    --shadow-medium: 0 4px 16px -2px hsl(220, 13%, 18%, 0.15);
    --shadow-strong: 0 8px 32px -4px hsl(220, 13%, 18%, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-hero);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--gradient-cta);
    color: var(--accent-foreground);
}

.btn-accent:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

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

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

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

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-4px);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-success {
    background: hsl(142, 71%, 45%, 0.1);
    color: var(--success);
    border: 1px solid hsl(142, 71%, 45%, 0.2);
    text-align: center"
}

.badge-warning {
    background: hsl(38, 92%, 50%, 0.1);
    color: var(--warning);
    border: 1px solid hsl(38, 92%, 50%, 0.2);
}

.badge-accent {
    background: var(--gradient-cta);
    color: var(--accent-foreground);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo-icon {
    background: var(--gradient-hero);
    padding: 0.5rem;
    border-radius: 0.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 400%;
    height: 400%;
    object-fit: contain;
    border-radius: 0.25rem;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--foreground);
}

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

/* Logo interativa */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.logo-link:hover .logo-icon {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Menu de Navegação Desktop */
.nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav a:hover::after {
    width: 100%;
}

.nav .btn-nav-cta {
    background: var(--gradient-cta);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.nav .btn-nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.nav .btn-nav-cta::after {
    display: none;
}

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

.phone-btn {
    display: none;
}

/* Menu Hambúrguer Mobile */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    gap: 5px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:focus,
.mobile-menu-toggle:active {
    outline: none;
    border: none;
    box-shadow: none;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--foreground);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animação do hambúrguer para X */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menu Mobile Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-nav a {
    color: var(--foreground);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu-nav a:hover {
    color: var(--primary);
}

.mobile-menu-nav .btn-mobile-cta {
    background: var(--gradient-cta);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.mobile-menu-nav .btn-mobile-cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom right, var(--background), var(--secondary));
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 1.5rem 0;    /* Mobile */
    max-width: 64rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 48rem;
}

.value-props {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.value-prop {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}

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

.hero-location {
    color: var(--muted-foreground);
    font-style: italic;
}

/* Sections */
.section {
    padding: 2rem 0;
}

.section-bg {
    background: hsl(220, 14%, 96%, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    text-align: center;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Icon containers */
.icon-container {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-hero);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.card:hover .icon-container {
    transform: scale(1.1);
}

/* Services */
.service-card {
    position: relative;
    text-align: center;
}

.service-popular {
    position: absolute;
    top: -0.75rem;
    left: 1rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Special Offer */
.special-offer {
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

.special-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 16rem;
    height: 16rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-8rem, -8rem);
}

.special-offer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(12rem, 12rem);
}

.offer-card {
    max-width: 64rem;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 0.75rem;
    padding: 3rem;
    box-shadow: var(--shadow-strong);
    position: relative;
    z-index: 10;
    color: var(--foreground);
}

.offer-title {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.offer-benefits {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.offer-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.urgency-box {
    background: hsl(38, 92%, 50%, 0.1);
    border: 1px solid hsl(38, 92%, 50%, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.urgency-text {
    color: var(--warning);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Gallery */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--gradient-hero);
    color: white;
    border-color: var(--primary);
}

.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-0.5rem);
}

.gallery-images {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem 0.75rem 0 0;
}

.gallery-image {
    height: 16rem;
    position: relative;
}

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

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

.image-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.badge-before {
    background: var(--destructive);
    color: var(--destructive-foreground);
}

.badge-after {
    background: var(--success);
    color: var(--success-foreground);
}

.gallery-content {
    padding: 1.5rem;
}

.gallery-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial-card {
    text-align: center;
}

.quote-icon {
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: var(--muted-foreground);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    width: 1.25rem;
    height: 1.25rem;
}

.star-filled {
    color: var(--warning);
    fill: var(--warning);
}

.star-empty {
    color: var(--muted-foreground);
}

.testimonial-author {
    font-weight: bold;
}

.testimonial-location {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.google-rating {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--background));
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 3rem;
}

.rating-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.rating-number {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--primary);
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.rating-label {
    font-weight: bold;
}

.rating-count {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* About Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.stat-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-hero);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.value-item h4 {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

/* Contact */
.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-hero);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-details p {
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.map-placeholder {
    height: 20rem;
    background: linear-gradient(135deg, var(--secondary), var(--background));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
}

.map-content {
    color: var(--muted-foreground);
}

.map-icon {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.quick-contact {
    background: var(--gradient-cta);
    color: white;
    border: none;
    text-align: center;
}

.quick-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.quick-contact p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.facilities-card {
    border: 1px solid hsl(142, 71%, 45%, 0.2);
    background: hsl(142, 71%, 45%, 0.05);
}

.facilities-title {
    color: var(--success);
    margin-bottom: 1rem;
}

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

.facility-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.facility-item span {
    font-size: 0.875rem;
}

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

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

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

.footer-company h3 {
    font-size: 1.25rem;
}

.footer-company p {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-description {
    font-size: 0.875rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: white;
}

.footer-contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.footer-contact-text p {
    font-size: 0.875rem;
    margin-bottom: 0.125rem;
    color: white;
}

.footer-contact-text .font-semibold {
    font-weight: 600;
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: var(--shadow-strong);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-btn svg {
    display: block;
}

.whatsapp-btn:hover {
    background: #22c55e;
    transform: scale(1.1);
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-ctas {
        flex-direction: row;
    }

    .value-props {
        grid-template-columns: repeat(3, 1fr);
    }

    .offer-benefits {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* Desktop: mostrar nav e ocultar hambúrguer */
@media (min-width: 900px) {
    .nav {
        display: flex;
    }

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

    .header-content {
        justify-content: space-between;
    }

    .logo {
        margin: 0 !important;
    }
}

/* Mobile: ocultar nav e mostrar hambúrguer */
@media (max-width: 899px) {
    .nav {
        display: none !important;
    }

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

    .header-content {
        justify-content: space-between;
        position: relative;
    }

    .logo-link {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-menu-toggle {
        margin-left: auto;
    }

    /* Logo menor no mobile */
    .logo-icon {
        width: 36px;
        height: 36px;
        background: transparent;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
}
@media (min-width: 768px) {
    .hero-content {
padding: 2.5rem 0;  /* Tablet */
    }
}

@media (min-width: 1024px) {
    .hero-content {
padding: 3rem 0;  /* Desktop */
    }
}

/* Hidden class for filtering */
.hidden {
    display: none !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
