/* Portal Cimento Brasil 2.0.85 — Home e cabeçalho estável. */

/* O estado de rolagem altera apenas acabamento visual, nunca dimensões. */
@media (min-width: 761px) {
    .pcb-header .pcb-topbar,
    .pcb-header.is-scrolled .pcb-topbar {
        max-height: 40px !important;
        opacity: 1 !important;
        border-bottom-color: rgba(255,255,255,.12) !important;
        pointer-events: auto !important;
        transition: none !important;
    }
    .pcb-header .pcb-header-inner,
    .pcb-header.is-scrolled .pcb-header-inner {
        min-height: 104px !important;
        gap: 34px !important;
        transition: none !important;
    }
    .pcb-header .pcb-nav-wrap,
    .pcb-header.is-scrolled .pcb-nav-wrap { gap: 28px !important; }
    .pcb-header .pcb-nav ul,
    .pcb-header.is-scrolled .pcb-nav ul { gap: 30px !important; }
    .pcb-header .pcb-nav a,
    .pcb-header.is-scrolled .pcb-nav a { font-size: 12px !important; transition: color .18s ease !important; }
    .pcb-header .pcb-search-toggle,
    .pcb-header.is-scrolled .pcb-search-toggle { width: 118px !important; height: 30px !important; }
    .pcb-header .pcb-search-panel,
    .pcb-header.is-scrolled .pcb-search-panel { top: calc(100% - 8px) !important; }
    .pcb-header .custom-logo,
    .pcb-header.is-scrolled .custom-logo { max-width: 280px !important; max-height: 74px !important; }
    .pcb-header .pcb-brand-small,
    .pcb-header.is-scrolled .pcb-brand-small { font-size: 31px !important; letter-spacing: -1px !important; }
    .pcb-header .pcb-brand-large,
    .pcb-header.is-scrolled .pcb-brand-large { font-size: 55px !important; letter-spacing: -2px !important; }
    .pcb-header.is-scrolled { box-shadow: 0 9px 26px rgba(0,72,102,.1); }
}
@media (min-width: 761px) and (max-width: 1100px) {
    .pcb-header .pcb-nav ul,
    .pcb-header.is-scrolled .pcb-nav ul { gap: 15px !important; }
    .pcb-header .pcb-nav a,
    .pcb-header.is-scrolled .pcb-nav a { font-size: 10px !important; }
    .pcb-header .custom-logo,
    .pcb-header.is-scrolled .custom-logo { max-width: 220px !important; max-height: 66px !important; }
    .pcb-header .pcb-brand-small,
    .pcb-header.is-scrolled .pcb-brand-small { font-size: 24px !important; letter-spacing: -1px !important; }
    .pcb-header .pcb-brand-large,
    .pcb-header.is-scrolled .pcb-brand-large { font-size: 43px !important; letter-spacing: -1.5px !important; }
}

/* Newsletter. */
.pcb-home-newsletter {
    display: grid;
    grid-template-columns: minmax(270px, .85fr) minmax(0, 1.55fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    margin: clamp(44px, 6vw, 72px) 0;
    padding: clamp(28px, 4vw, 42px);
    border-radius: 22px;
    background: linear-gradient(120deg, #005b7f 0%, #087a93 100%);
    color: #fff;
    box-shadow: 0 18px 46px rgba(0,72,102,.18);
}
.pcb-home-newsletter__copy { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 16px; align-items: start; }
.pcb-home-newsletter__icon { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 13px; background: rgba(255,255,255,.1); font-size: 20px; }
.pcb-home-newsletter h2 { margin: 0 0 8px; color: #fff; font-size: clamp(22px,2.4vw,31px); line-height: 1.1; font-weight: 700; }
.pcb-home-newsletter__text { color: rgba(255,255,255,.88); font-size: 13px; line-height: 1.5; }
.pcb-home-newsletter__text p { margin: 0; }
.pcb-home-newsletter__form form { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; gap: 10px; align-items: end; }
.pcb-home-newsletter__form label span { display: block; margin-bottom: 6px; color: rgba(255,255,255,.82); font-size: 10px; font-weight: 700; }
.pcb-home-newsletter__form input { width: 100%; height: 44px; margin: 0; padding: 0 13px; border: 1px solid rgba(255,255,255,.32); border-radius: 9px; background: #fff; color: #26373e; box-shadow: none; }
.pcb-home-newsletter__form button { height: 44px; padding: 0 18px; border: 0; border-radius: 9px; background: #35a936; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.pcb-home-newsletter__form button:hover { background: #2c902d; }
.pcb-home-newsletter__form > p { margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: 9px; }
.pcb-home-newsletter__form > p a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* Serviços. */
.pcb-home-services {
    margin: 0 0 clamp(50px,7vw,84px);
    padding: clamp(32px,4.5vw,54px);
    border: 1px solid #e0eaec;
    border-radius: 24px;
    background: #f4f8f9;
}
.pcb-home-services__header { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(250px,.75fr); gap: 42px; align-items: end; margin-bottom: 28px; }
.pcb-home-services__header .pcb-section-title { margin-bottom: 0; }
.pcb-home-services__intro { color: #5a696f; font-size: 14px; line-height: 1.6; }
.pcb-home-services__intro p { margin: 0; }
.pcb-home-services__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.pcb-home-service-card { display: flex; overflow: hidden; min-width: 0; flex-direction: column; border: 1px solid #dce6e9; border-radius: 17px; background: #fff; box-shadow: 0 10px 28px rgba(0,63,91,.07); transition: transform .2s ease, box-shadow .2s ease; }
.pcb-home-service-card:hover { transform: translateY(-4px); box-shadow: 0 17px 38px rgba(0,63,91,.12); }
.pcb-home-service-card__media { height: 185px; overflow: hidden; background: #e9eff1; }
.pcb-home-service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pcb-home-service-card:hover .pcb-home-service-card__media img { transform: scale(1.025); }
.pcb-home-service-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.pcb-home-service-card__meta { margin-bottom: 8px; color: #35a936; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.pcb-home-service-card h3 { margin: 0 0 10px; color: #005b7f; font-size: 20px; line-height: 1.2; font-weight: 700; }
.pcb-home-service-card p { margin: 0 0 18px; color: #59686e; font-size: 13px; line-height: 1.55; }
.pcb-home-service-card a { display: inline-flex; gap: 9px; align-items: center; margin-top: auto; color: #35a936; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pcb-home-service-card a:hover { color: #005b7f; }

@media (max-width: 980px) {
    .pcb-home-newsletter { grid-template-columns: 1fr; }
    .pcb-home-services__header { grid-template-columns: 1fr; gap: 15px; }
}
@media (max-width: 760px) {
    .pcb-home-newsletter { margin-block: 38px; padding: 24px 20px; }
    .pcb-home-newsletter__copy { grid-template-columns: 38px minmax(0,1fr); gap: 12px; }
    .pcb-home-newsletter__icon { width: 38px; height: 38px; }
    .pcb-home-newsletter__form form { grid-template-columns: 1fr; }
    .pcb-home-services { padding: 27px 18px; }
    .pcb-home-services__grid { grid-template-columns: 1fr; }
    .pcb-home-service-card__media { height: 210px; }
}
