* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #0d0d0d;
    background-color: #ffffff;
}

/* CSS Variables - Design System */
:root {
    /* Brand Colors */
    --brand-gold: #d4af37;
    --brand-gold-light: #e6c968;
    --brand-gold-dark: #b8941f;
    --brand-black: #0d0d0d;
    --brand-cream: #f7f5f0;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Service Category Colors */
    --blue-50: #eff6ff;
    --blue-600: #2563eb;
    --yellow-50: #fefce8;
    --yellow-600: #ca8a04;
    --purple-50: #faf5ff;
    --purple-600: #9333ea;
    --green-50: #f0fdf4;
    --green-600: #16a34a;
    --red-600: #dc2626;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-dark));
    --gradient-hero: linear-gradient(135deg, var(--brand-black), #262626);
    --gradient-section: linear-gradient(180deg, var(--brand-cream), var(--white));
    --gradient-yellow: linear-gradient(135deg, #fbbf24, #f59e0b);
    --gradient-blue: linear-gradient(135deg, #3b82f6, #2563eb);
    --gradient-green: linear-gradient(135deg, #10b981, #059669);
    --gradient-purple: linear-gradient(135deg, #8b5cf6, #7c3aed);

    /* 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-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.3);
    --shadow-elegant: 0 20px 40px -10px rgba(0, 0, 0, 0.1);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden {
    display: none !important;
}

.text-highlight {
    color: var(--brand-gold);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
    outline: none;
    font-size: 1rem;
}

.btn:focus {
    outline: 2px solid var(--brand-gold);
    outline-offset: 2px;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--brand-black);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--brand-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--brand-gold-light);
    border: 2px solid var(--brand-gold-light);
}

.btn-outline:hover {
    background: var(--brand-gold-light);
    color: var(--brand-black);
}

.btn-black {
    background: var(--brand-black);
    color: var(--brand-gold);
}

.btn-black:hover {
    background: var(--gray-800);
}

.btn-emergency {
    background: var(--red-600);
    color: var(--white);
    animation: pulse 2s infinite;
}

.btn-emergency:hover {
    background: #b91c1c;
}

.btn-whatsapp {
    background: transparent;
    color: var(--brand-gold-light);
    border: 2px solid var(--brand-gold-light);
    transition: background-color 0.3s, color 0.3s;
}

.btn-whatsapp:hover {
    background: var(--brand-gold-light);
    color: var(--brand-black);
    transform: translateY(-2px);
}


/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-black);
}

.logo-text {
    color: var(--brand-gold-light);
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--brand-gold-light);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.nav-link:hover {
    color: var(--brand-gold);
}

.header-cta {
    display: none;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--brand-gold-light);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand-black);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.mobile-nav-link {
    color: var(--brand-gold-light);
    text-decoration: none;
    padding: 0.75rem 0;
    transition: color var(--transition-normal);
}

.mobile-nav-link:hover {
    color: var(--brand-gold);
}

.mobile-cta {
    margin-top: 1rem;
    align-self: flex-start;
}

@media (min-width: 768px) {
    .nav-desktop,
    .header-cta {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.hero-decoration {
    position: absolute;
    border: 2px solid var(--brand-gold);
}

.hero-decoration-1 {
    top: 5rem;
    left: 2.5rem;
    width: 8rem;
    height: 8rem;
    border-radius: var(--radius-full);
}

.hero-decoration-2 {
    bottom: 5rem;
    right: 2.5rem;
    width: 12rem;
    height: 12rem;
    border: 1px solid var(--brand-gold-light);
    transform: rotate(45deg);
}

.hero-decoration-3 {
    top: 50%;
    left: 25%;
    width: 4rem;
    height: 4rem;
    background: var(--brand-gold-dark);
    border-radius: var(--radius-full);
    filter: blur(20px);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    text-align: center;
    color: var(--white);
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.hero-logo-icon {
    width: 6rem;
    height: 6rem;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-black);
    box-shadow: var(--shadow-gold);
    position: relative;
    z-index: 2;
}

.hero-logo-pulse {
    position: absolute;
    inset: 0;
    width: 6rem;
    height: 6rem;
    background: var(--brand-gold);
    border-radius: var(--radius-full);
    animation: ping 2s infinite;
    opacity: 0.2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title-highlight {
    color: var(--brand-gold-light);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray-300);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap; 
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-btn-primary {
    transform: scale(1);
    transition: all var(--transition-normal);
}

.hero-btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--brand-gold);
    border-radius: var(--radius-full);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator-inner {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid var(--brand-gold-light);
    border-radius: var(--radius-xl);
    display: flex;
    justify-content: center;
}

.scroll-indicator-dot {
    width: 0.25rem;
    height: 0.75rem;
    background: var(--brand-gold-light);
    border-radius: var(--radius-full);
    margin-top: 0.5rem;
    animation: pulse 2s infinite;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--gradient-section);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-black);
    margin-bottom: 1rem;
}

.section-title.light {
    color: var(--brand-gold-light);
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 32rem;
    margin: 0 auto;
}

.section-description.light {
    color: var(--gray-300);
}

.service-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.service-category {
    text-align: center;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elegant);
    transition: all var(--transition-normal);
    flex-basis: 300px;
    display: flex;
    flex-direction: column;
}

.service-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.service-category-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-category-icon.blue {
    background: var(--blue-50);
    color: var(--blue-600);
}

.service-category-icon.yellow {
    background: var(--yellow-50);
    color: var(--yellow-600);
}

.service-category-icon.purple {
    background: var(--purple-50);
    color: var(--purple-600);
}

.service-category-icon.green {
    background: var(--green-50);
    color: var(--green-600);
}

.service-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-black);
    margin-bottom: 0.5rem;
}

.service-category p {
    color: var(--gray-600);
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.service-list li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: var(--brand-gold);
    border-radius: var(--radius-full);
    flex-shrink: 0;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3.5rem;
    }
}


/* Estilos para o botão de detalhes e a janela modal */
.btn-details {
    background: transparent;
    color: var(--brand-gold-dark);
    border: 1px solid var(--brand-gold-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    margin-top: auto;
    transition: all var(--transition-normal);
}

.btn-details:hover {
    background: var(--brand-gold-dark);
    color: var(--white);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    z-index: 2001;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    font-size: 1.75rem;
    color: var(--brand-black);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--brand-gold);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.modal-close-btn:hover {
    color: var(--brand-black);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-features {
    margin-bottom: 2rem;
}

.about-cta {
    background: var(--brand-cream);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 2rem;
}

.about-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-black);
    margin-bottom: 0.75rem;
}

.about-cta p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.about-feature svg {
    color: var(--brand-gold);
    flex-shrink: 0;
}

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elegant);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-gold);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-black);
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-black);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 220px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding-top: 5rem;
    border-top: 1px solid var(--gray-200);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
}

@media (min-width: 768px) {
    .stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat-number {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: var(--gradient-section);
}

/* CORRIGIDO: Alinhamento com Flexbox */
.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* CORRIGIDO: Tamanho base e remoção do padding */
.work-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elegant);
    transition: all var(--transition-normal);
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    flex: 0 1 320px; 
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

/* CORRIGIDO: Padding movido para cá */
.work-card-content {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* CORRIGIDO: Estilo unificado para containers de imagem */
.work-card .work-image-placeholder,
.work-card .image-compare {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-200);  
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}


.work-card-1 .work-image-placeholder {
    background-image: url('assets/cozinha-led.jpeg');
}

.work-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-black);
    margin-bottom: 0.5rem;
}

.work-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-200);
}

.portfolio .stats-grid .stat-number {
    color: var(--brand-black);
}


@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    /* Não é mais necessário */
}

/* Estilos para o componente de comparação "Antes e Depois" */
.image-compare {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}

.image-compare img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.image-compare .after {
    width: 50%;
}

.image-compare .slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transform: translateX(-50%);
    z-index: 10;
}

.image-compare .slider::before {
    content: '◀▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    color: var(--brand-black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}


/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--gradient-hero);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.contact-card-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-black);
    margin: 0 auto 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-gold-light);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--gray-300);
    font-weight: 500;
    margin-bottom: 1rem;
}

.emergency-card {
    background: rgba(185, 28, 28, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.emergency-icon {
    width: 4rem;
    height: 4rem;
    background: var(--red-600);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 1rem;
    animation: pulse 2s infinite;
}

.emergency-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fca5a5;
    margin-bottom: 1rem;
}

.emergency-card > p {
    color: var(--gray-300);
    text-align: center;
    margin-bottom: 1.5rem;
}

.emergency-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.emergency-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-300);
    margin-bottom: 0.75rem;
}

.emergency-list li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: #fca5a5;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.main-cta {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 2rem;
    padding: 2rem;
    text-align: center;
    max-width: 32rem;
    margin: 0 auto;
}

.main-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-gold-light);
    margin-bottom: 1rem;
}

.main-cta p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.main-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-cta h3 {
        font-size: 2rem;
    }

    .main-cta-buttons {
        flex-direction: row; 
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Footer */
.footer {
    background: var(--brand-black);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-black);
}

.footer-logo-text {
    color: var(--brand-gold-light);
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.footer-owner {
    color: var(--brand-gold);
    font-weight: 500;
}

.footer-services h3,
.footer-contact h3 {
    color: var(--brand-gold-light);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-services ul {
    list-style: none;
}

.footer-services li {
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-400);
}

.footer-contact-item svg {
    color: var(--brand-gold);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
}

.footer-highlight {
    color: var(--brand-gold);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        text-align: left;
    }
}

/* Animations */
@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-gold-dark);
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--brand-gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .hero,
    .scroll-indicator {
        display: none;
    }
    
    .services,
    .about,
    .portfolio,
    .contact,
    .footer {
        break-inside: avoid;
    }
}
/* CÓDIGO FINAL: SUBSTITUA O ANTERIOR POR ESTE */

/* Removemos o preenchimento interno do card para a imagem poder "colar" nas bordas */
.work-card-1 {
  display: flex;
  flex-direction: column;
  padding: 0; /* << IMPORTANTE: Zera o padding do card */
}

/* Aqui definimos o tamanho da imagem e arredondamos os cantos de cima para acompanhar o card */
.work-card-1 img {
  width: 100%;
  height: 280px; /* Você pode ajustar essa altura se precisar */
  object-fit: cover;
  border-top-left-radius: 12px;  /* Arredonda o canto superior esquerdo */
  border-top-right-radius: 12px; /* Arredonda o canto superior direito */
}

/* Por fim, adicionamos o preenchimento de volta, mas SÓ na área do texto */
.work-card-1 .work-card-content {
  padding: 24px; /* << Ajuste este valor para o texto ficar alinhado com os outros cards */
}
/* ============================================= */
/* CÓDIGO DE CORREÇÃO FORÇADA PARA O ÍCONE */
/* ============================================= */

/*
  Este código garante que nenhum outro ícone (de fonte ou de fundo)
  seja exibido no lugar do SVG que está no HTML.
*/
.service-category-icon.blue::before,
.service-category-icon.blue::after {
    content: none !important;
    display: none !important;
}

.service-category-icon.blue {
    background-image: none !important;
}

/* Este código garante que o SVG dentro do círculo azul
  seja sempre visível.
*/
.service-category-icon.blue svg {
    display: inline !important;
    visibility: visible !important;
    width: 32px !important;
    height: 32px !important;
}   