/* ==========================================
   INÍCIO - SERVIÇOS
========================================== */

.services {
    padding: var(--section-spacing) 0;
    background: var(--color-surface);
}

.services.home-services {
    padding: var(--section-spacing) 0;
    background: var(--color-surface);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
}

.service {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: var(--space-2xl);
}

.service__image {
    overflow: hidden;
    border: #b6b6b6 solid 1px;
}

.service__image img {
    width: 100%;
    height: 460px;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service:hover .service__image img {
    transform: scale(1.01);
}

.service__content {
    max-width: 460px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service__eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--color-primary);
    font-size: var(--fs-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.service__content h3 {
    position: relative;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    color: var(--color-dark);
}

.service__content h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 2px;
    background: var(--color-primary);
}

.service__content p {
    margin-bottom: var(--space-lg);
}

.service__link img {
    width: 18px;
    transition: transform 0.3s ease;
}

.service__link:hover img {
    transform: translateX(6px);
}

.service-list-compact {
    display: flex;
    flex-direction: column;
    margin-top: var(--space-2xl);
}

.service-small {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border);
}

.service-small:last-child {
    border-bottom: 1px solid var(--color-border);
}

.service-small img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 16px;
    transition: 0.4s;
}

.service-small:hover img {
    transform: scale(1.03);
}

.service-small__content {
    max-width: 720px;
}

.service-small h3 {
    margin-bottom: 14px;
}

.service-small p {
    max-width: 640px;
    margin-bottom: 20px;
}

.service-small a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-weight: 600;
}

.service-small a img {
    width: 18px;
    height: 18px;
}

/* ==========================================
   ESTRUTURA DA PÁGINA
========================================== */

.page-content {
    padding: var(--section-spacing) 0;
}

.page-content--light {
    background: var(--color-white);
}

.page-content--beige {
    background: #f7f4ee;
}

.page-content--grey {
    background: var(--color-surface);
}

.page-content--dark {
    background: var(--color-dark);
    color: white;
}

/* ==========================================
   BREADCRUMB
========================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb__separator {
    color: rgba(255, 255, 255, 0.35);
    user-select: none;
}

.breadcrumb__current {
    color: var(--color-primary);
    font-weight: 600;
}

/* ==========================================
   HERO INTERNO
========================================== */

.page-hero {
    position: relative;
    height: 700px;
    display: flex;
    align-items: stretch;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero__overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    background: linear-gradient(
        90deg,
        rgba(30, 30, 32, 0.88) 0%,
        rgba(30, 30, 32, 0.72) 42%,
        rgba(30, 30, 32, 0.38) 100%
    );
}

.page-hero__content {
    max-width: 900px;
    padding-top: 150px;
    padding-bottom: var(--space-2xl);
}

.page-hero__content h1 {
    color: white;
    margin-bottom: 28px;
}

.page-hero__content p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 1.12rem;
    line-height: 1.9;
}

/* ==========================================
   PÁGINA DE ERRO
========================================== */

.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    background: #f7f4ee;
}

.error-page__content h1 {
    margin: 24px 0;
    color: var(--color-dark);
}

.error-page__content p {
    max-width: 620px;
    margin: 0 auto;
    color: #666;
    line-height: 1.8;
}

.error-page__buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}