:root {
    --green: #92ba3d;
    --green-dark: #557f16;
    --green-darker: #446811;
    --blue: #1d5fbf;
    --navy: #1b2a6b;
    --text: #5f6368;
    --heading: #54595f;
    --gray-bg: #f2f2f2;
    --border: #e3e3e3;
    --radius: 6px;
    --shadow: 0 2px 14px rgba(0, 0, 0, .08);
    --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 900px; }
.text-center { text-align: center; }
.muted { color: #888; }
.icon { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex-shrink: 0; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { background: var(--gray-bg); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 112px; gap: 24px; }
.logo img { width: 270px; height: auto; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a {
    display: block; padding: 10px 14px; color: #7a7a7a; font-weight: 500; text-decoration: none; position: relative;
}
.main-nav > ul > li > a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; background: var(--green);
    opacity: 0; transition: opacity .2s;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--green-dark); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.active::after { opacity: 1; }
.main-nav .sub {
    list-style: none; margin: 0; padding: 6px 0; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff;
    box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius); opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: .2s;
}
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { padding: 9px 18px; font-size: 15px; }
.main-nav .sub a:hover { background: var(--gray-bg); color: var(--green-dark); }
.sub-toggle, .menu-toggle { display: none; }

@media (max-width: 960px) {
    .header-inner { min-height: 80px; }
    .logo img { width: 190px; }
    .menu-toggle {
        display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px;
    }
    .menu-toggle span { display: block; height: 3px; background: var(--heading); border-radius: 2px; transition: .2s; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .main-nav {
        position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow); display: none;
        max-height: calc(100vh - 80px); overflow-y: auto;
    }
    .main-nav.open { display: block; }
    .main-nav > ul { flex-direction: column; padding: 8px 0; gap: 0; }
    .main-nav > ul > li > a { padding: 12px 20px; }
    .main-nav > ul > li > a::after { display: none; }
    .main-nav .sub { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; background: var(--gray-bg); }
    .main-nav .sub.open { display: block; }
    .main-nav .sub a { padding-left: 36px; }
    .sub-toggle {
        display: block; position: absolute; right: 8px; top: 4px; width: 40px; height: 40px; border: 0; background: transparent;
    }
    .sub-toggle::before { content: ""; display: block; width: 8px; height: 8px; border: solid var(--heading); border-width: 0 2px 2px 0; transform: rotate(45deg); margin: 0 auto; }
    .sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); }
}

/* ---------- seções ---------- */
.section { padding-top: 56px; padding-bottom: 56px; }
.section-gray { background: var(--gray-bg); }
.section-title { font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.page-title { font-size: clamp(26px, 3.6vw, 34px); font-weight: 700; margin-top: 28px; }
.lead-text { max-width: 900px; margin: 0 auto; }
.breadcrumb { font-size: 14px; margin-bottom: 0; }
.breadcrumb a { color: #888; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.text-center .actions { justify-content: center; }

.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border: 2px solid var(--green-dark); border-radius: 40px;
    background: var(--green-dark); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; text-transform: uppercase; letter-spacing: .03em;
    transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--green-darker); border-color: var(--green-darker); color: #fff; }
.btn-outline { background: transparent; color: var(--green-dark); }
.btn-outline:hover { color: #fff; }
.btn-whats { background: #1ea952; border-color: #1ea952; }
.btn-whats:hover { background: #17863f; border-color: #17863f; }

/* ---------- slider ---------- */
.hero { padding-top: 8px; }
.slider { position: relative; max-width: var(--container); margin: 0 auto; aspect-ratio: 3 / 1; overflow: hidden; background: #ddd; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.75); color: var(--heading); display: grid; place-items: center;
}
.slider-btn:hover { background: #fff; }
.slider-btn.prev { left: 12px; } .slider-btn.next { right: 12px; }
.slider-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slider-dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; }
.slider-dots button.is-active { background: #fff; }

/* ---------- clientes ---------- */
.logo-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: center; padding: 0 24px; max-width: 1400px; margin: 0 auto; }
.logo-row img { width: 100%; max-width: 170px; margin: 0 auto; filter: grayscale(.15); transition: filter .2s, transform .2s; }
.logo-row img:hover { filter: none; transform: scale(1.04); }
@media (max-width: 760px) { .logo-row { grid-template-columns: repeat(3, 1fr); } }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.client-grid img { border: 1px solid var(--border); border-radius: var(--radius); }

/* ---------- vídeo ---------- */
.video-section { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video iframe, .video-cover, .video-cover img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-cover { padding: 0; background: none; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 50px; border-radius: 12px; background: #e62117; color: #fff; display: grid; place-items: center; }
.play .icon { width: 24px; height: 24px; fill: #fff; }
@media (max-width: 860px) { .video-section { grid-template-columns: 1fr; } }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(0,0,0,.12); }
.post-card__thumb { position: relative; display: block; aspect-ratio: 1 / .93; background: #e9e9e9; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; right: 14px; background: #61ce70; color: #fff; font-size: 11px; font-weight: 500; text-transform: uppercase; padding: 3px 12px; border-radius: 20px; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 19px; margin-bottom: 12px; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue); }
.post-card p { font-size: 14px; color: #777; }
.read-more { margin-top: auto; font-size: 13px; font-weight: 700; text-transform: uppercase; text-decoration: none; color: var(--green-dark); }
.search { display: flex; max-width: 520px; margin: 0 auto 32px; gap: 8px; }
.search input { flex: 1; margin-top: 0; }
.search .btn { padding: 10px 18px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a { padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--heading); }
.pagination a.current, .pagination a:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.post-meta { color: #999; font-size: 14px; }
.post-cover { border-radius: var(--radius); margin: 8px 0 28px; max-height: 520px; width: auto; }

/* ---------- conteúdo editável ---------- */
.content { overflow-wrap: break-word; }
.content img { border-radius: var(--radius); margin: 16px 0; height: auto; }
.content ul, .content ol { padding-left: 1.4em; }
.content li { margin-bottom: .5em; }
.content blockquote { border-left: 4px solid var(--green); margin: 1.5em 0; padding: .5em 1.2em; background: var(--gray-bg); }
.content table { border-collapse: collapse; width: 100%; }
.content td, .content th { border: 1px solid var(--border); padding: 8px; }
.content iframe { max-width: 100%; }
.page-banner { width: 100%; margin-top: 8px; border-radius: 0; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; margin: 40px 0; }
.feature { text-align: center; }
.feature img { width: 112px; margin: 0 auto 14px; }
.feature h3 { font-weight: 900; letter-spacing: .04em; }
@media (max-width: 700px) { .features { grid-template-columns: 1fr; } }
.cta-box { margin-top: 40px; padding: 26px 28px; background: var(--gray-bg); border-left: 5px solid var(--green); border-radius: var(--radius); }
.cta-box p:last-child { margin-bottom: 0; }

/* ---------- serviços ---------- */
.service-list { display: grid; gap: 28px; }
.service-banner { position: relative; display: block; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; }
.service-banner img { width: 100%; transition: transform .4s; }
.service-banner:hover img { transform: scale(1.03); }
.service-banner__info { display: block; padding: 16px 22px; background: #fff; color: var(--text); }
.service-banner__info strong { color: var(--heading); font-size: 19px; margin-right: 8px; }

/* ---------- formulários ---------- */
.lead-form { display: grid; gap: 16px; margin-top: 16px; scroll-margin-top: 140px; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .lead-form .row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 500; color: var(--heading); font-size: 15px; }
input, textarea, select {
    margin-top: 6px;
    width: 100%; font: inherit; color: #333; padding: 11px 14px; border: 1px solid #cfcfcf; border-radius: var(--radius); background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.lead-form .btn { justify-self: start; }
.req { color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: var(--radius); font-weight: 500; }
.alert.success { background: #e8f5d8; color: #335c0a; border: 1px solid #c3e19a; }
.alert.error { background: #fdecea; color: #8a1f17; border: 1px solid #f5c2bd; }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; margin-top: 24px; }
.contact-info { background: var(--gray-bg); padding: 28px; border-radius: var(--radius); align-self: start; }
.contact-info p { display: flex; align-items: center; gap: 10px; }
.contact-info .icon { color: var(--green-dark); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.quote-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.quote-option {
    display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 36px 20px; border-radius: var(--radius); box-shadow: var(--shadow);
    text-decoration: none; color: var(--heading); font-weight: 700; font-size: 19px; text-align: center; transition: transform .2s;
}
.quote-option:hover { transform: translateY(-4px); color: var(--green-dark); }
.quote-option img { width: 120px; }
@media (max-width: 760px) { .quote-options { grid-template-columns: 1fr; } }

/* ---------- rodapé ---------- */
.site-footer { background: var(--gray-bg); padding-top: 48px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-logo img { width: 180px; margin: 0 auto; }
.site-footer h3 { font-size: 18px; }
.footer-nav, .footer-contact { list-style: none; padding: 0; margin: 0 0 16px; }
.footer-nav a, .footer-contact a { color: #7a7a7a; font-weight: 500; text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--green-dark); }
.social { display: flex; gap: 10px; margin-bottom: 16px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.social .icon { width: 20px; height: 20px; }
.social-facebook { background: #1877f2; } .social-instagram { background: #d62976; } .social-linkedin { background: #0a66c2; }
.social a:hover { opacity: .85; color: #fff; }
.copyright { text-align: center; font-size: 13px; color: #999; padding: 18px 16px; margin-top: 32px; border-top: 1px solid #e2e2e2; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } .social { justify-content: center; } .badge-link img { margin: 0 auto; } }

.whatsapp-float {
    position: fixed; left: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
    display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.25); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float .icon { width: 32px; height: 32px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
