/* servicos.css - VERSÃO FINAL COMPLETA E UNIFORME */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #fff;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: url('../images/1859.jpg') center/cover;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1920px;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 0;
    pointer-events: none;
}

/* TOPO */
.topbar {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 10px;
    padding: 0 clamp(40px, 4vw, 80px);
    background: #000;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
}

.logo {
    font-size: clamp(16px, 1.5vw, 18px);
    letter-spacing: 2px;
    font-weight: 600;
}

.menu {
    display: flex;
    gap: clamp(24px, 2.5vw, 32px);
    order: 2;
    width: 100%;
    justify-content: center;
}

.menu a {
    color: #ccc;
    text-decoration: none;
    font-size: clamp(12px, 1vw, 14px);
    white-space: nowrap;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.menu a i {
    margin-right: 6px;
    width: 14px;
    opacity: 0.8;
}

.menu a.active,
.menu a:hover {
    color: #fff;
}

.menu a.active i,
.menu a:hover i {
    opacity: 1;
}

/* BOTÃO AGENDAR */
.btn-agendar {
    position: relative;
    order: 3;
    margin: 0 auto 8px;
    z-index: 1;
    background: #c81f3b;
    border: none;
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    font-size: clamp(11px, 0.8vw, 12px);
    letter-spacing: 1px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(200, 31, 59, 0.4);
    transition: all 0.3s;
    cursor: pointer;
    font-weight: 600;
}

.btn-agendar:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(200, 31, 59, 0.6);
}

/* SERVICES WRAPPER */
.services-wrapper {
    min-height: calc(100vh - 160px);
    position: relative;
    z-index: 1;
}

/* HERO OVERLAY */
.services-hero {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    background: transparent;
    backdrop-filter: none;
    padding: 40px 40px;
    border-radius: 0;
    text-align: center;
    max-width: 800px;
}

.section-label {
    font-size: 12px;
    letter-spacing: 4px;
    color: #c8a940;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.title {
    font-size: clamp(42px, 6vw, 60px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.title span {
    color: #ffd700;
    font-style: italic;
    font-weight: 400;
}

.subtitle {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.5;
}

/* SERVICES GRID - 3 POR LINHA FIXO */
.services-grid-section {
    padding: 80px clamp(40px, 4vw, 120px);
    max-width: 1840px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
    max-width: 1840px;
}

/* CARDS COM IMAGENS - FINAL: ALTURA UNIFORME + BORDAS COMPLETAS */
.service-card {
    background: rgba(128,128,128,0.2);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    transition: all 0.4s ease;
    position: relative;
    width: 100%;
    height: 280px; /* FIXO: Altura uniforme para TODOS */
    overflow: visible; /* Bordas amarelas visíveis */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c8a940, transparent);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: #c8a940;
    box-shadow: 0 30px 80px rgba(200,169,64,0.3);
    background: rgba(20,20,30,0.95);
}

.service-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: rgba(128,128,128,0.2);
}

/* BOTÃO AGÊNCIA CENTRALIZADO */
.agency-section {
    display: flex;
    justify-content: center;
    padding: 0 clamp(40px, 4vw, 120px);
}

.agency-button {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 50px;
    box-shadow: 0 20px 50px rgba(200,31,59,0.4);
    transition: all 0.3s;
    cursor: pointer;
}

.agency-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(200,31,59,0.5);
}

/* RESPONSIVE */
@media (max-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services-grid-section {
        padding: 60px 24px;
    }
    
    .topbar {
        padding: 20px;
        flex-wrap: nowrap;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: 10px;
        height: auto;
    }
    
    .menu {
        gap: 12px;
        order: 2;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn-agendar {
        order: 3;
        position: static;
        margin: 0 auto 8px;
    }
    
    .service-card {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-hero {
        height: 50vh;
    }
    
    .hero-overlay {
        padding: 40px 24px;
    }
    
    .title {
        font-size: 36px;
    }
    
    .btn-agendar {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .service-card {
        height: 240px;
    }
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(200,31,59,0.7);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c81f3b;
}


/* AGENCY TEASER */
.agency-teaser {
  background: linear-gradient(135deg, #c81f3b 0%, #a81932 100%); 
  color: #fff;
  padding: 24px 60px; 
  border-radius: 50px; 
  font-size: 18px; 
  font-weight: 600;
  letter-spacing: 1px; 
  text-align: center; 
  max-width: 300px; 
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(200,31,59,0.4); 
  transition: all 0.3s;
}

.agency-teaser:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 30px 70px rgba(200,31,59,0.5); 
}