/* ══════════════════════════════════════════
   PREMIUM SERVICES PAGE — Nova Era Piscinas
   ══════════════════════════════════════════ */

/* ── Base ── */
.servicos-page {
    background-color: #edecec;
    padding-top: 0;
}

/* ── Hero ── */
.srv-hero {
    min-height: 85vh;
    background: linear-gradient(160deg, rgba(5,24,45,.92) 0%, rgba(5,24,45,.6) 60%, rgba(5,24,45,.3) 100%),
                url('../assets/images/novas_fotos/iluminacao_noturna_nova_1773329834444.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    position: relative;
}

.srv-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to top, #edecec 0%, transparent 100%);
    pointer-events: none;
}

.srv-hero-inner {
    max-width: 850px;
    position: relative;
    z-index: 2;
    animation: srvFadeUp 1s ease-out;
}

.srv-hero-tag {
    display: inline-block;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    color: rgba(255,255,255,.9);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,.15);
}

.srv-hero-inner h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.05;
    letter-spacing: -2px;
}

.srv-hero-inner p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,.85);
    max-width: 700px;
    margin: 0 auto 40px;
}

.srv-hero-scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    animation: srvBounce 2s infinite;
    transition: all .3s ease;
}

.srv-hero-scroll:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.5);
}

/* ── Stats Bar ── */
.srv-stats {
    position: relative;
    z-index: 3;
    margin-top: -60px;
    padding: 0 20px;
}

.srv-stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 30px 60px rgba(0,0,0,.08);
    border: 1px solid rgba(74,111,165,.08);
}

.srv-stat {
    text-align: center;
    flex: 1;
}

.srv-stat-num {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: #4a6fa5;
    line-height: 1;
    margin-bottom: 8px;
}

.srv-stat-label {
    font-size: .85rem;
    color: #888;
    font-weight: 400;
    letter-spacing: .5px;
}

.srv-stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(74,111,165,.25), transparent);
    flex-shrink: 0;
}

/* ── Services Grid ── */
.srv-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

/* --- Hero Card (Full Width) --- */
.srv-card--hero {
    display: flex;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,.06);
    border: 1px solid rgba(74,111,165,.08);
    transition: transform .5s cubic-bezier(.25,.8,.25,1), box-shadow .5s ease;
}

.srv-card--hero:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(0,0,0,.1);
}

.srv-card--hero .srv-card__image {
    flex: 1;
    min-width: 45%;
    position: relative;
    overflow: hidden;
}

.srv-card--hero .srv-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 500px;
    transition: transform 8s ease;
}

.srv-card--hero:hover .srv-card__image img {
    transform: scale(1.08);
}

.srv-card__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5,24,45,.15) 0%, transparent 100%);
    pointer-events: none;
}

.srv-card--hero .srv-card__body {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.srv-card--reversed {
    flex-direction: row-reverse;
}

/* --- Half Cards (Side by Side) --- */
.srv-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.srv-card--half {
    flex: 1;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.06);
    border: 1px solid rgba(74,111,165,.08);
    transition: transform .5s cubic-bezier(.25,.8,.25,1), box-shadow .5s ease;
    display: flex;
    flex-direction: column;
}

.srv-card--half:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(0,0,0,.1);
}

.srv-card--half .srv-card__image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.srv-card--half .srv-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 8s ease;
}

.srv-card--half:hover .srv-card__image img {
    transform: scale(1.08);
}

.srv-card--half .srv-card__body {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* --- Card Internals --- */
.srv-card__badge {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, #4a6fa5, #5b8cc2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(74,111,165,.25);
}

.srv-card__badge i {
    font-size: 1.5rem;
    color: #fff;
}

.srv-card__number {
    display: inline-block;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(74,111,165,.06);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 30px;
    user-select: none;
    pointer-events: none;
}

.srv-card--half .srv-card__number {
    font-size: 4rem;
    top: 15px;
    right: 20px;
}

.srv-card__body {
    position: relative;
}

.srv-card__body h2 {
    font-size: 2.2rem;
    color: #05182d;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.srv-card--half .srv-card__body h2 {
    font-size: 1.7rem;
}

.srv-card__desc {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.65;
    font-weight: 400;
}

.srv-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.srv-card__features li {
    font-size: .95rem;
    color: #555;
    margin-bottom: 14px;
    position: relative;
    padding-left: 30px;
    line-height: 1.5;
}

.srv-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a6fa5, #5b8cc2);
    opacity: .15;
}

.srv-card__features li::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 3px;
    top: 7px;
    color: #4a6fa5;
    font-size: .6rem;
}

.srv-card__features strong {
    color: #05182d;
    font-weight: 600;
}

.srv-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #4a6fa5;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 2px solid transparent;
    transition: all .3s ease;
    margin-top: auto;
    width: fit-content;
}

.srv-card__cta:hover {
    border-bottom-color: #4a6fa5;
}

.srv-card__cta i {
    transition: transform .3s ease;
}

.srv-card__cta:hover i {
    transform: translateX(5px);
}

/* ── Process / Steps Grid ── */
.srv-process {
    background: #edecec;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.srv-process::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74,111,165,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.srv-process-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.srv-process-inner h2 {
    font-size: 3rem;
    color: #05182d;
    margin-bottom: 15px;
    font-weight: 800;
}

.srv-process-subtitle {
    font-size: 1.15rem;
    color: #777;
    margin-bottom: 80px;
    font-weight: 300;
}

.srv-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

/* Connecting line on desktop */
@media (min-width: 992px) {
    .srv-steps-grid::before {
        content: '';
        position: absolute;
        top: 45px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, rgba(74,111,165,0.2) 20%, rgba(74,111,165,0.2) 80%, transparent 100%);
        z-index: 1;
    }
}

.srv-step-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(74,111,165,0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.srv-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: rgba(74,111,165,0.2);
}

.srv-step-icon {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(74,111,165,0.12);
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(74,111,165,0.05);
}

.srv-step-card:hover .srv-step-icon {
    background: linear-gradient(135deg, #4a6fa5, #5b8cc2);
    transform: scale(1.1) rotate(5deg);
}

.srv-step-icon i {
    font-size: 2rem;
    color: #4a6fa5;
    transition: all 0.4s ease;
}

.srv-step-card:hover .srv-step-icon i {
    color: #fff;
}

.srv-step-number {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(74,111,165,0.04);
    line-height: 1;
    transition: all 0.4s ease;
}

.srv-step-card:hover .srv-step-number {
    color: rgba(74,111,165,0.08);
}

.srv-step-body h3 {
    font-size: 1.4rem;
    color: #05182d;
    margin-bottom: 15px;
    font-weight: 700;
}

.srv-step-body p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ── Animations ── */
@keyframes srvFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes srvBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

/* ── Responsive ══════════════════════════ */
@media (max-width: 1100px) {
    .srv-card--hero {
        flex-direction: column !important;
    }
    
    .srv-card--hero .srv-card__image img {
        min-height: 350px;
    }
    
    .srv-card--hero .srv-card__body {
        padding: 40px;
    }
}

@media (max-width: 992px) {
    .srv-hero {
        min-height: 70vh;
    }
    
    .srv-hero-inner h1 {
        font-size: 3.2rem;
    }
    
    .srv-stats-inner {
        flex-wrap: wrap;
        gap: 20px;
        padding: 30px;
    }

    .srv-stat {
        min-width: 40%;
    }

    .srv-stat-divider {
        display: none;
    }
    
    .srv-row {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .srv-hero {
        min-height: 65vh;
        background-attachment: scroll;
    }
    
    .srv-hero-inner h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .srv-hero-inner p {
        font-size: 1rem;
    }
    
    .srv-stats {
        margin-top: -40px;
    }
    
    .srv-stats-inner {
        flex-direction: column;
        gap: 25px;
        padding: 30px 25px;
    }
    
    .srv-stat-num {
        font-size: 2.2rem;
    }
    
    .srv-grid {
        padding: 60px 15px 20px;
    }
    
    .srv-card__body h2 {
        font-size: 1.6rem !important;
    }
    
    .srv-card__number {
        font-size: 3rem !important;
    }
    
    .srv-process {
        padding: 80px 20px;
    }
    
    .srv-process-inner h2 {
        font-size: 2.2rem;
    }
    
    .srv-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .srv-step-card {
        padding: 30px 20px;
    }

    .srv-step-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .srv-step-icon i {
        font-size: 1.5rem;
    }

    .srv-step-number {
        font-size: 2rem;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .srv-hero-inner h1 {
        font-size: 2rem;
    }
    
    .srv-hero-tag {
        font-size: .7rem;
        padding: 6px 18px;
    }
    
    .srv-card--hero .srv-card__body,
    .srv-card--half .srv-card__body {
        padding: 25px 20px;
    }

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