/* ===== FONTES ===== */
@font-face {
    font-family: 'NewYork';
    src: url('../../tipografia/NewYork PERSONAL USE.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== VARIÁVEIS CSS ===== */
:root {
    /* Paleta de 4 Cores Natural e Terrosa */
    --primary-color: #4c5343;        /* Verde-oliva escuro - cor principal */
    --primary-light: #6f5843;        /* Marrom terra - hover states e variações */
    --secondary-color: #b19978;      /* Bege médio - cor secundária */
    --accent-color: #f2eddb;         /* Creme claro - acentos e fundos claros */
    
    /* Cores de Texto */
    --text-dark: #4c5343;           /* Verde-oliva escuro - textos principais */
    --text-light: #6f5843;          /* Marrom terra - textos secundários */
    --text-white: #ffffff;          /* Branco puro - textos em fundos escuros */
    --text-muted: #b19978;          /* Bege médio - textos suaves */
    --text-on-dark: #f2eddb;        /* Creme claro - textos em fundos escuros */
    
    /* Cores de Fundo */
    --bg-light: #f2eddb;            /* Creme claro - fundos claros */
    --bg-white: #ffffff;            /* Branco puro */
    --bg-dark: #4c5343;             /* Verde-oliva escuro - fundos escuros */
    --bg-secondary: #b19978;         /* Bege médio - fundos alternados */
    --bg-cream: #f2eddb;            /* Creme claro - overlays */
    
    /* Cores de Borda */
    --border-color: #b19978;        /* Bege médio - bordas padrão */
    --border-light: #f2eddb;       /* Creme claro - bordas suaves */
    --border-dark: #4c5343;        /* Verde-oliva escuro - bordas destacadas */
    
    /* Sombras */
    --shadow: 0 4px 20px rgba(76, 83, 67, 0.15);
    --shadow-hover: 0 8px 30px rgba(76, 83, 67, 0.25);
    --shadow-light: 0 2px 10px rgba(242, 237, 219, 0.3);
    --shadow-soft: 0 4px 15px rgba(177, 153, 120, 0.2);
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #4c5343 0%, #6f5843 100%);
    --gradient-secondary: linear-gradient(135deg, #b19978 0%, #f2eddb 100%);
    --gradient-accent: linear-gradient(135deg, #f2eddb 0%, #ffffff 100%);
    --gradient-soft: linear-gradient(135deg, #6f5843 0%, #b19978 100%);
    
    /* Bordas e Transições */
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'NewYork', 'Inter', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

button {
    font-family: 'NewYork', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.highlight {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: #4c5343;
    text-shadow: none;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'NewYork', serif;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.servico-card .btn-outline {
    background: #6f5843;
    color: #ffffff;
    border: 2px solid #6f5843;
}

.servico-card .btn-outline:hover {
    background: rgba(111, 88, 67, 0.9);
    color: #ffffff;
    border-color: #6f5843;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.btn-google {
    background: #4285F4;
    color: var(--text-white);
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
}

.btn-google:hover {
    background: #3367D6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #4c5343 !important;
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(177, 153, 120, 0.3);
    box-shadow: var(--shadow-light);
}

.navbar {
    padding: 1rem 0;
    background: #f2eddb !important;
}

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

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #4c5343;
    text-decoration: none;
    text-shadow: none;
}

.logo-image {
    height: 70px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.btn-google-nav {
    background: rgba(76, 83, 67, 0.1);
    color: #4c5343;
    border: 2px solid rgba(76, 83, 67, 0.3);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    box-shadow: var(--shadow-light);
    text-decoration: none;
    cursor: pointer;
}

.btn-google-nav:hover {
    background: rgba(76, 83, 67, 0.2);
    color: #4c5343;
    border-color: rgba(76, 83, 67, 0.5);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.google-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.btn-google-nav .google-icon {
    width: 16px;
    height: 16px;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 83, 67, 0.6) 0%, rgba(111, 88, 67, 0.5) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    color: var(--text-white);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text-box {
    background: #f2eddb !important;
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-hover);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--border-light);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    color: #6f5843;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #6f5843;
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    background: #4c5343 !important;
    color: #ffffff !important;
    border: 2px solid #4c5343;
}

.hero-buttons .btn-primary:hover,
.hero-buttons .btn-secondary:hover {
    background: #6f5843 !important;
    color: #ffffff !important;
    border-color: #6f5843;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* ===== SEÇÕES GERAIS ===== */
section {
    padding: 5rem 0;
}

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

.galeria .section-header {
    background: rgba(242, 237, 219, 0.85);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 24px rgba(76, 83, 67, 0.2), 0 4px 8px rgba(76, 83, 67, 0.1);
    border: 3px solid rgba(76, 83, 67, 0.3);
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.galeria .section-title {
    font-size: 3.2rem;
    color: #4c5343;
    text-shadow: 0 3px 6px rgba(76, 83, 67, 0.2);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.galeria .section-subtitle {
    font-size: 1.3rem;
    color: #5a4635;
    font-weight: 500;
}

/* ===== SERVIÇOS SECTION ===== */
.servicos {
    position: relative;
    background: #f2eddb !important;
}

.servicos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f2eddb !important;
    z-index: 0;
}

.servicos-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: none;
}

.servicos-bg-image {
    display: none;
}

.servicos-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f2eddb !important;
    z-index: 1;
}

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

.servicos .section-title {
    color: #4c5343;
}

.servicos .section-subtitle {
    color: #6f5843;
}

/* ===== CARROSSEL DE SERVIÇOS ===== */
.servicos-carousel-container {
    position: relative;
    margin: 3rem 0;
    overflow: hidden;
    width: 100%;
}

.servicos-carousel {
    display: flex;
    gap: 2rem;
    overflow: hidden;
    padding: 1rem 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: max-content;
    min-width: 100%;
    will-change: transform;
    transform: translateX(0);
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    contain: layout;
    backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
    isolation: isolate;
    filter: blur(0);
    image-rendering: -webkit-optimize-contrast;
    text-rendering: optimizeLegibility;
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.servicos-carousel::-webkit-scrollbar {
    display: none;
}

.servico-card {
    flex: 0 0 300px;
    background: #4c5343 !important;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    min-width: 300px;
    max-width: 300px;
    will-change: transform;
    flex-shrink: 0;
    height: auto;
    box-sizing: border-box;
    contain: layout;
    backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
    isolation: isolate;
    filter: blur(0);
    image-rendering: -webkit-optimize-contrast;
    text-rendering: optimizeLegibility;
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.servico-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(76, 83, 67, 0.15);
    border: 1px solid var(--border-color);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    background: var(--bg-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: all;
    z-index: 11;
    opacity: 0.8;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 8px 25px rgba(76, 83, 67, 0.4);
}

.carousel-btn:active {
    transform: scale(1.05);
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background: var(--primary-color);
}

.servicos-actions {
    text-align: center;
    margin-top: 3rem;
}

.servicos-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.servicos-actions .btn-primary {
    background: #6f5843 !important;
    color: #ffffff !important;
    border: 2px solid #6f5843;
}

.servicos-actions .btn-primary:hover {
    background: rgba(111, 88, 67, 0.9) !important;
    color: #ffffff !important;
    border-color: #6f5843;
}

/* ===== PÁGINA TODOS OS SERVIÇOS ===== */
.breadcrumb {
    background: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumb-separator {
    color: var(--text-light);
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: 500;
}

.todos-servicos {
    padding: 3rem 0;
    background: var(--bg-light);
    min-height: 80vh;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BARRA DE BUSCA ===== */
.search-container {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    width: 20px;
    height: 20px;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 83, 67, 0.15);
}

.search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: var(--transition);
}

.search-clear:hover {
    background: var(--border-color);
    color: var(--text-dark);
}

/* ===== FILTROS ===== */
.filters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.filter-select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background: var(--bg-white);
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== RESULTADOS ===== */
.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.results-info span {
    font-weight: 500;
    color: var(--text-dark);
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover,
.view-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
}

/* ===== GRID DE SERVIÇOS ===== */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.servicos-grid.list-view {
    grid-template-columns: 1fr;
}

.servicos-grid.list-view .servico-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.5rem;
}

.servicos-grid.list-view .servico-image {
    flex: 0 0 150px;
    margin-right: 1.5rem;
}

.servicos-grid.list-view .servico-content {
    flex: 1;
    text-align: left;
}

.servicos-grid.list-view .servico-title {
    margin-bottom: 0.5rem;
}

.servicos-grid.list-view .servico-description {
    margin-bottom: 1rem;
}

.servicos-grid.list-view .servico-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

/* ===== LOADING ===== */
.loading {
    text-align: center;
    padding: 3rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

/* ===== NO RESULTS ===== */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.no-results i {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    color: var(--border-color);
}

.no-results h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-primary);
    padding: 3rem 0;
    text-align: center;
    color: var(--text-white);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn {
    background: var(--text-white);
    color: var(--primary-color);
    border: 2px solid var(--text-white);
}

.cta-section .btn:hover {
    background: transparent;
    color: var(--text-white);
}

.servico-card {
    background: #4c5343 !important;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.servico-card::before {
    display: none;
}

.servico-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.servico-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
}

.servico-image.has-multiple {
    position: relative;
}

.servico-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out, transform 0.3s ease;
    transform: scale(1);
}

/* Quando há múltiplas imagens */
.servico-image.has-multiple {
    position: relative;
}

.servico-image.has-multiple .servico-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
}

.servico-image.has-multiple .servico-img.active {
    opacity: 1;
    z-index: 2;
}

/* Hover simples: troca da primeira para a segunda imagem quando houver 2 imagens */
.servico-image.has-multiple:hover .servico-img:first-child {
    opacity: 0;
}

.servico-image.has-multiple:hover .servico-img:last-child {
    opacity: 1;
}

/* Quando há apenas uma imagem */
.servico-image:not(.has-multiple) .servico-img {
    position: relative;
    opacity: 1;
}

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

/* Navegação de imagens */
.servico-img-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.servico-img-prev {
    left: 10px;
}

.servico-img-next {
    right: 10px;
}

.servico-image.has-multiple:hover .servico-img-nav {
    opacity: 1;
}

.servico-img-nav:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.servico-img-nav i {
    width: 18px;
    height: 18px;
}

/* Indicadores de imagens */
.servico-img-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.servico-image.has-multiple:hover .servico-img-indicators {
    opacity: 1;
}

.servico-img-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.servico-img-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.servico-img-dot.active {
    background: var(--text-white);
    width: 10px;
    height: 10px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.servico-content {
    padding: 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.servico-title {
    color: #ffffff;
    margin-bottom: 1rem;
}

.servico-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.servico-price {
    font-size: 2rem;
    font-weight: 700;
    color: #f2eddb;
    margin-bottom: 1.5rem;
}

/* ===== GALERIA SECTION ===== */
.galeria {
    position: relative;
    background: var(--bg-light);
    background-image: url('../../image/nossos-trabalhos.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.galeria::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(242, 237, 219, 0.5);
    z-index: 1;
}

.galeria .container {
    position: relative;
    z-index: 2;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-light);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'NewYork', serif;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

/* ===== CARROSSEL DE GALERIA ===== */
.galeria-carousel-container {
    position: relative;
    margin: 3rem 0;
    overflow: hidden;
    width: 100%;
}

.galeria-carousel {
    display: flex;
    gap: 2rem;
    overflow: hidden;
    padding: 1rem 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: max-content;
    min-width: 100%;
    will-change: transform;
    transform: translateX(0);
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
}

.galeria-item {
    flex: 0 0 300px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.galeria-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.galeria-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.galeria-actions {
    text-align: center;
    margin-top: 3rem;
}

.galeria-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.galeria-actions .btn-primary {
    background: #6f5843 !important;
    color: #ffffff !important;
    border: 2px solid #6f5843;
}

.galeria-actions .btn-primary:hover {
    background: rgba(111, 88, 67, 0.9) !important;
    color: #ffffff !important;
    border-color: #6f5843;
}

/* ===== SOBRE SECTION ===== */
.sobre {
    position: relative;
    background: #4c5343 !important;
}

.sobre-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.sobre-bg-image {
    display: none;
}

.sobre-background {
    display: none;
}

.sobre-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4c5343 !important;
    z-index: 1;
}

.sobre .container {
    position: relative;
    z-index: 2;
}

.sobre .section-title {
    color: #ffffff;
}

.sobre .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.sobre-diferenciais {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.diferencial {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(242, 237, 219, 0.15);
    border-radius: var(--border-radius);
    transition: var(--transition);
    color: #ffffff;
}

.diferencial:hover {
    background: rgba(242, 237, 219, 0.25);
    transform: translateX(5px);
}

.diferencial i {
    color: #f2eddb;
    width: 20px;
    height: 20px;
}

.diferencial span {
    color: #ffffff;
}

.sobre-image {
    position: relative;
}

.sobre-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* ===== CONTATO SECTION ===== */
.contato {
    position: relative;
    background: var(--bg-light);
}

.contato-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.contato-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    z-index: 1;
}

.contato .container {
    position: relative;
    z-index: 2;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.info-item i {
    color: var(--primary-color);
    width: 24px;
    height: 24px;
    margin-top: 0.25rem;
}

.info-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contato-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== CTA FINAL SECTION ===== */
.cta-final {
    position: relative;
    background: #f2eddb !important;
    color: var(--text-dark);
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-bg-image {
    display: none;
}

.cta-background {
    display: none;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f2eddb !important;
    z-index: 1;
}

.cta-final .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    color: #4c5343;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-final .btn-primary,
.cta-final .btn-secondary {
    background: #6f5843 !important;
    color: #ffffff !important;
    border: 2px solid #6f5843;
}

.cta-final .btn-primary:hover,
.cta-final .btn-secondary:hover {
    background: rgba(111, 88, 67, 0.9) !important;
    color: #ffffff !important;
    border-color: #6f5843;
}

.cta-urgency {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-light);
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

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

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #6f5843 !important;
    border-radius: var(--border-radius);
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
    border: 1px solid rgba(177, 153, 120, 0.3);
    box-shadow: var(--shadow-hover);
}

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

.modal-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: #ffffff;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #ffffff;
    transition: var(--transition);
}

.modal-close:hover {
    color: rgba(255, 255, 255, 0.7);
}

.modal-close i {
    width: 24px;
    height: 24px;
}

.modal-body {
    padding: 0 2rem 2rem;
    text-align: center;
}

.modal-title {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.modal-privacy {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

.modal-privacy a {
    color: #ffffff;
    text-decoration: underline;
}

/* ===== MODAL DE SERVIÇO ===== */
.servico-modal .modal-content {
    max-width: 600px;
}

.servico-modal-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    position: relative;
}

.servico-modal-image.has-multiple {
    position: relative;
}

.servico-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out, transform 0.3s ease;
    transform: scale(1);
}

/* Quando há múltiplas imagens no modal */
.servico-modal-image.has-multiple {
    position: relative;
}

.servico-modal-image.has-multiple .servico-modal-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
}

.servico-modal-image.has-multiple .servico-modal-img.active {
    opacity: 1;
    z-index: 2;
}

/* Quando há apenas uma imagem no modal */
.servico-modal-image:not(.has-multiple) .servico-modal-img {
    position: relative;
    opacity: 1;
}

.servico-modal-info {
    text-align: left;
}

.servico-modal-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.servico-modal-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.detail-item i {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
}

/* Navegação de imagens no modal */
.servico-modal-image .servico-img-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.servico-modal-image .servico-img-prev {
    left: 15px;
}

.servico-modal-image .servico-img-next {
    right: 15px;
}

.servico-modal-image.has-multiple:hover .servico-img-nav {
    opacity: 1;
}

.servico-modal-image .servico-img-nav:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    opacity: 1;
}

.servico-modal-image .servico-img-nav i {
    width: 20px;
    height: 20px;
}

/* Indicadores de imagens no modal */
.servico-modal-image .servico-img-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.servico-modal-image.has-multiple:hover .servico-img-indicators {
    opacity: 1;
}

.servico-modal-image .servico-img-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.servico-modal-image .servico-img-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.servico-modal-image .servico-img-dot.active {
    background: var(--text-white);
    width: 12px;
    height: 12px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* ===== BOTÃO FLUTUANTE WHATSAPP ===== */
/* ===== SPOTIFY WIDGET ===== */
.spotify-widget {
    position: fixed;
    bottom: calc(2rem + 75px);
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.spotify-iframe-container {
    width: 300px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
    transform: scale(0.5) translateY(20px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    position: absolute;
    bottom: calc(100% + 15px);
    right: 0;
}

.spotify-widget.active .spotify-iframe-container {
    visibility: visible;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.spotify-widget-btn {
    width: 60px;
    height: 60px;
    background: #1DB954;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    animation: whatsappFloat 3s ease-in-out infinite;
}

.spotify-widget.active .spotify-widget-btn {
    animation: none;
    background: #1ed760;
    transform: rotate(360deg);
}

@media (max-width: 768px) {
    .spotify-widget {
        bottom: calc(1.5rem + 65px);
        right: 1.5rem;
    }
    .spotify-widget-btn {
        width: 58px;
        height: 58px;
    }
    .spotify-widget-btn svg {
        width: 24px;
        height: 24px;
    }
    .spotify-iframe-container {
        width: calc(100vw - 3rem);
        max-width: 340px;
    }
}

@media (max-width: 480px) {
    .spotify-widget {
        bottom: calc(1rem + 60px);
        right: 1rem;
    }
    .spotify-widget-btn {
        width: 52px;
        height: 52px;
    }
    .spotify-widget-btn svg {
        width: 22px;
        height: 22px;
    }
    .spotify-iframe-container {
        width: calc(100vw - 2rem);
        max-width: none;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    animation: whatsappFloat 3s ease-in-out infinite;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    box-shadow: 
        0 8px 32px rgba(37, 211, 102, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-btn:hover::before {
    opacity: 1;
}

.whatsapp-btn:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(37, 211, 102, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.whatsapp-btn:active {
    transform: scale(1.05) translateY(0px);
    transition: all 0.1s ease;
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    z-index: 1;
    position: relative;
    color: white;
}

@keyframes whatsappFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-3px) rotate(1deg);
    }
    66% {
        transform: translateY(3px) rotate(-1deg);
    }
}

/* Efeito de ondas */
.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(76, 83, 67, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: whatsappRipple 3s infinite;
    z-index: -1;
}

@keyframes whatsappRipple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== UTILITÁRIOS ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }