/* =========================================================
   Engeplena Engenharia — Folha de estilo das páginas de serviço
   (/servicos/*) — compartilhada pelo hub e pelas 6 páginas.
   Herda o design system de css/style.css (mesmas variáveis).
   ========================================================= */

:root {
    /* Cores (espelho de css/style.css) */
    --lighterGreen: #E2EDEB;
    --lightGreen: #AACBC4;
    --mediumGreen: #5A8F76;
    --principalGreen: #48887B;
    --darkGreen: #2D3F2F;
    --bgDarkGreen: #1D2820;

    --white: #ffffff;
    --black: #000000;
    --bgWhite: #F7FAF9;
    --textGray: #6D6A6A;
    --textLightGray: #999696;
    --borderGray: #D5D5D5;
    --textOffWhite: #E0E0E0;
    --borderWhiteOp: rgba(255, 255, 255, 0.24);
    --shadowBlack: rgba(0, 0, 0, 0.15);

    /* Tipografia */
    --fontText: 'Roboto', sans-serif;
    --fontTitle: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { overflow-x: hidden; }

body {
    font-family: var(--fontText);
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background-color: var(--bgWhite);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--principalGreen); }
ul { list-style: none; }

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

/* =========================================================
   HEADER (desktop + mobile)
   ========================================================= */
.svc-header {
    background: var(--principalGreen);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(29, 40, 32, 0.18);
}

.svc-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.svc-logo {
    background-color: var(--white);
    padding: 6px 48px 6px 22px;
    margin-left: -20px;
    display: flex;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 82.68% 101.2%, 0 100%);
}
.svc-logo img { height: 40px; width: auto; display: block; }

.svc-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.svc-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.25s ease;
}

.svc-nav a:hover { color: var(--darkGreen); }
.svc-nav a[aria-current="page"] { color: var(--darkGreen); font-weight: 700; }

.svc-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    color: var(--darkGreen);
    font-family: var(--fontTitle);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.svc-btn-whatsapp:hover { background-color: var(--darkGreen); color: var(--white); transform: translateY(-1px); }

/* Botão hamburger (mobile) */
.svc-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    cursor: pointer;
}

.svc-hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.svc-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.svc-hamburger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

.svc-mobile-menu {
    display: none;
    background-color: var(--principalGreen);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 8px 0 16px;
}

.svc-mobile-menu.open { display: block; }

.svc-mobile-menu ul { display: flex; flex-direction: column; }
.svc-mobile-menu a {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 13px 4px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.svc-mobile-menu a[aria-current="page"] { color: var(--white); font-weight: 700; }
.svc-mobile-menu .svc-btn-whatsapp {
    margin-top: 14px;
    justify-content: center;
}

/* =========================================================
   BREADCRUMB
   ========================================================= */
.svc-breadcrumb {
    font-size: 13px;
    color: var(--textGray);
    padding: 22px 0 0;
    max-width: 860px;
}

.svc-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-breadcrumb li::after { content: "›"; margin-left: 6px; color: var(--borderGray); }
.svc-breadcrumb li:last-child::after { content: ""; }
.svc-breadcrumb a { color: var(--principalGreen); text-decoration: none; }
.svc-breadcrumb a:hover { text-decoration: underline; }
.svc-breadcrumb [aria-current="page"] { color: var(--textGray); }

/* =========================================================
   HERO
   ========================================================= */
.svc-hero {
    padding: 34px 0 44px;
    border-bottom: 1px solid var(--lighterGreen);
}

.svc-hero .svc-kicker {
    display: inline-block;
    font-family: var(--fontTitle);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--principalGreen);
    margin-bottom: 12px;
}

.svc-hero h1 {
    font-family: var(--fontTitle);
    font-weight: 600;
    font-size: 38px;
    line-height: 1.25;
    color: var(--darkGreen);
    max-width: 760px;
    margin-bottom: 16px;
}

.svc-lead {
    font-size: 18px;
    color: var(--textGray);
    max-width: 720px;
    margin-bottom: 28px;
}

.svc-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.svc-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background-color: var(--principalGreen);
    color: var(--white);
    font-family: var(--fontTitle);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 26px;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(72, 136, 123, 0.30);
    transition: background-color 0.25s ease, transform 0.15s ease;
}

.svc-btn:hover { background-color: var(--darkGreen); transform: translateY(-1px); }

.svc-btn-phone {
    background-color: transparent;
    color: var(--darkGreen);
    box-shadow: inset 0 0 0 2px var(--lightGreen);
}

.svc-btn-phone:hover { background-color: var(--lighterGreen); color: var(--darkGreen); }

/* =========================================================
   CONTEÚDO
   ========================================================= */
.svc-main { padding-bottom: 60px; }

.svc-content { max-width: 860px; }

.svc-section { padding: 40px 0; border-bottom: 1px solid var(--lighterGreen); }

.svc-section:last-of-type { border-bottom: none; }

.svc-section h2 {
    font-family: var(--fontTitle);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.3;
    color: var(--darkGreen);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.svc-section h2::before {
    content: "";
    width: 6px;
    height: 26px;
    border-radius: 3px;
    background: var(--principalGreen);
    flex-shrink: 0;
}

.svc-section h3 {
    font-family: var(--fontTitle);
    font-weight: 600;
    font-size: 18px;
    color: var(--darkGreen);
    margin: 22px 0 8px;
}

.svc-section p { margin-bottom: 14px; }
.svc-section p:last-child { margin-bottom: 0; }

.svc-section strong { color: var(--darkGreen); }

/* Lista de entregáveis / normas / para quem */
.svc-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
}

.svc-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--principalGreen);
    font-weight: 700;
}

/* Passos do processo */
.svc-steps {
    counter-reset: step;
    display: grid;
    gap: 14px;
}

.svc-steps li {
    counter-increment: step;
    position: relative;
    background: var(--white);
    border: 1px solid var(--lighterGreen);
    border-radius: 12px;
    padding: 18px 20px 18px 58px;
}

.svc-steps li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--principalGreen);
    color: var(--white);
    font-family: var(--fontTitle);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-steps strong { display: block; margin-bottom: 4px; }

/* =========================================================
   FAQ (acordeão)
   ========================================================= */
.svc-faq details {
    background: var(--white);
    border: 1px solid var(--lighterGreen);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.svc-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    font-family: var(--fontTitle);
    font-weight: 500;
    font-size: 16px;
    color: var(--darkGreen);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.svc-faq summary::-webkit-details-marker { display: none; }

.svc-faq summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    color: var(--principalGreen);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.svc-faq details[open] summary::after { transform: rotate(45deg); }

.svc-faq details[open] { border-color: var(--lightGreen); }

.svc-faq .svc-faq-body {
    padding: 0 20px 18px;
    color: var(--textGray);
    font-size: 15px;
}

/* =========================================================
   CTA final
   ========================================================= */
.svc-cta {
    margin: 46px 0 0;
    background: linear-gradient(135deg, var(--bgDarkGreen) 0%, var(--darkGreen) 100%);
    border-radius: 18px;
    padding: 44px 40px;
    text-align: center;
    color: var(--white);
}

.svc-cta h2 {
    font-family: var(--fontTitle);
    font-weight: 600;
    font-size: 26px;
    color: var(--white);
    margin-bottom: 12px;
}

.svc-cta p { color: var(--textOffWhite); margin-bottom: 26px; }

.svc-cta .svc-btn { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }

.svc-cta .svc-btn:hover { background-color: var(--lightGreen); color: var(--darkGreen); }

.svc-cta-phone {
    display: inline-block;
    margin-top: 14px;
    color: var(--lightGreen);
    font-size: 15px;
    text-decoration: none;
}
.svc-cta-phone:hover { text-decoration: underline; }

/* =========================================================
   SERVIÇOS RELACIONADOS
   ========================================================= */
.svc-related { display: grid; gap: 14px; margin-top: 6px; }

.svc-related a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--lighterGreen);
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--darkGreen);
    font-family: var(--fontTitle);
    font-weight: 500;
    transition: border-color 0.25s ease, transform 0.15s ease;
}

.svc-related a:hover { border-color: var(--lightGreen); transform: translateX(3px); }

.svc-related .svc-related-arrow { color: var(--principalGreen); font-size: 18px; }

/* =========================================================
   HUB — grade de serviços
   ========================================================= */
.svc-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.svc-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--lighterGreen);
    border-radius: 16px;
    padding: 26px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s ease, transform 0.15s ease;
}

.svc-card:hover { box-shadow: 0 10px 26px rgba(29, 40, 32, 0.10); transform: translateY(-3px); }

.svc-card h2 {
    font-family: var(--fontTitle);
    font-weight: 600;
    font-size: 19px;
    color: var(--darkGreen);
}

.svc-card p { color: var(--textGray); font-size: 15px; margin: 0; }

.svc-card-more {
    margin-top: auto;
    color: var(--principalGreen);
    font-weight: 500;
    font-size: 15px;
}

.svc-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--lighterGreen);
    color: var(--principalGreen);
}

/* =========================================================
   FOOTER (padrão do site — idêntico à home)
   ========================================================= */
.site-footer {
    background-color: var(--bgDarkGreen);
    color: var(--white);
    font-size: 14px;
}
.footer-row { display: flex; }
.footer-left { max-width: 268px; padding: 60px 60px 60px 0; }
.footer-logo { margin-bottom: 25px; }
.footer-right {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 60px 0 60px 60px;
}
.footer-desc { color: var(--textOffWhite); line-height: 1.7; }

.footer-credentials {
    color: var(--textOffWhite);
    line-height: 1.7;
    font-size: 0.85rem;
    margin-top: 18px;
    opacity: 0.9;
}
.footer-credentials p { margin: 0 0 6px; }
.footer-credentials strong { color: var(--white); font-weight: 600; }
.footer-review { margin-top: 22px; }
.footer-review-link {
    display: inline-block;
    padding: 10px 16px;
    background-color: var(--lightGreen);
    color: var(--darkGreen);
    border-radius: 30px;
    font-family: var(--fontTitle);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.footer-review-link:hover { background-color: var(--white); color: var(--darkGreen); }
.footer-title { font-size: 18px; margin-bottom: 18px; }
.footer-nav ul { list-style-type: none; padding: 0; font-size: 14px; color: var(--textOffWhite); }
.footer-nav ul li:nth-last-child(n+2) { margin-bottom: 15px; }
.footer-nav ul li a:hover { color: var(--white); }
.footer-nav .footer-info-item { margin-bottom: 15px; text-decoration: none; transition: transform 0.2s ease; }
.footer-nav .footer-info-item:hover { transform: translateX(5px); }
.footer-info-item { display: flex; align-items: center; }
.footer-info-item:nth-last-child(n+2) { margin-bottom: 22px; }
.footer-info-icon { margin-right: 14px; }
.footer-info-icon img {
    width: 25px; height: auto;
    vertical-align: middle;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.footer-info-item:hover .footer-info-text { color: var(--white); transition: color 0.3s ease; }
.footer-info-item:hover .footer-info-icon img { opacity: 1; }
.footer-copyright {
    border-top: 1px solid var(--borderWhiteOp);
    padding: 24px 0 30px 0;
    text-align: center;
    color: var(--textOffWhite);
}
.copyright-text { font-weight: 500; }
.powered-by { font-size: 14px; margin-top: 10px; color: var(--textLightGray); font-weight: 400; }
.powered-by a {
    color: var(--textOffWhite);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px dotted var(--textLightGray);
}
.powered-by a:hover { color: var(--principalGreen); border-bottom-color: var(--principalGreen); }

.footer-privacy {
    margin-top: 8px;
    font-size: 13px;
}
.footer-privacy a {
    color: var(--textLightGray);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px dotted var(--textLightGray);
}
.footer-privacy a:hover { color: var(--principalGreen); border-bottom-color: var(--principalGreen); }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 992px) {
    .footer-row { display: block; }
    .footer-left { max-width: none; border-right: none; padding-right: 0; }
    .footer-right { padding: 0; margin-bottom: 30px; }
}

@media (max-width: 720px) {
    .svc-nav, .svc-header-row > .svc-btn-whatsapp { display: none; }

    .svc-hamburger { display: flex; }

    .svc-header-row { min-height: 64px; }

    .svc-hero { padding: 26px 0 34px; }
    .svc-hero h1 { font-size: 28px; }
    .svc-lead { font-size: 16px; }

    .svc-section { padding: 30px 0; }
    .svc-section h2 { font-size: 22px; }

    .svc-cta { padding: 32px 22px; }
    .svc-cta h2 { font-size: 22px; }

    .site-footer { text-align: center; }
    .footer-right { display: block; }
    .footer-info-item { justify-content: center; }
    .footer-nav { margin-bottom: 30px; }
}

@media (max-width: 480px) {
    .svc-btn { width: 100%; justify-content: center; }
    .svc-hero-cta { flex-direction: column; }
}
