/* Estilos das páginas de serviço (pintura-*-porto.html) */
:root {
    --primary-color: #d32304;
    --text-dark: #333;
    --bg-light: #F8F9FA;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

main.servico {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.breadcrumb a {
    color: #666;
}

.servico-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.servico-hero h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin: 0 0 1rem;
}

.servico-hero .lead {
    font-size: 1.15rem;
    margin: 0 0 1.5rem;
}

.servico-hero img {
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.6rem;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
    background: #a81c03;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #16753a;
}

.btn-whatsapp:hover {
    background: #115c2d;
}

main.servico section {
    margin-bottom: 2.75rem;
}

main.servico h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0 0 1rem;
}

main.servico h3 {
    font-size: 1.15rem;
    margin: 0 0 0.4rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.card p {
    margin: 0;
}

a.card {
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

a.card h3 {
    color: var(--primary-color);
}

.freguesias {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.freguesias li {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-weight: 600;
}

.passos {
    counter-reset: passo;
    list-style: none;
    padding: 0;
}

.passos li {
    counter-increment: passo;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
}

.passos li::before {
    content: counter(passo);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.faq details {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 0.75rem;
    padding: 1rem 1.25rem;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
}

.faq details p {
    margin: 0.75rem 0 0;
}

.cta-final {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
}

.cta-final .ctas {
    justify-content: center;
}

.relacionados a {
    color: var(--primary-color);
    font-weight: 600;
}

.relacionados ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    padding: 0;
    list-style: none;
}

.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 28px;
    box-shadow: var(--shadow);
    z-index: 999;
    text-decoration: none;
}

@media (max-width: 800px) {
    .servico-hero {
        grid-template-columns: 1fr;
    }

    .servico-hero h1 {
        font-size: 2rem;
    }
}
