:root {
  --primary: #77C720;
  --primary-dark: #5da50f;
  --primary-soft: #edf8e2;
  --ink: #151a17;
  --ink-2: #263029;
  --text: #4f5c54;
  --muted: #f4f7f2;
  --line: #dce5d8;
  --white: #ffffff;
  --shadow-sm: 0 10px 28px rgba(23, 35, 27, .08);
  --shadow-lg: 0 30px 80px rgba(18, 28, 21, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; transform: translateY(-150%); padding: 10px 14px; color: #fff; background: #111; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.topbar { color: #d9e4dc; background: var(--ink); font-size: .78rem; }
.topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p { margin: 0; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(119,199,32,.14); }
.topbar__meta { color: #aebbb2; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(220,229,216,.85); backdrop-filter: blur(14px); }
.header__inner { min-height: 88px; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; }
.brand img { width: 245px; max-height: 72px; object-fit: contain; object-position: left center; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.main-nav a { position: relative; padding: 10px 12px; color: #354138; font-size: .9rem; font-weight: 700; }
.main-nav a::after { content: ""; position: absolute; right: 12px; bottom: 4px; left: 12px; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--primary); transition: transform .25s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header__cta { flex: 0 0 auto; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 10px; border: 0; border-radius: 10px; background: var(--muted); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: .25s; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 22px; border: 1px solid var(--primary); border-radius: 10px; color: #112008; background: var(--primary); box-shadow: 0 10px 24px rgba(119,199,32,.22); font-size: .88rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #83d72d; box-shadow: 0 14px 30px rgba(119,199,32,.3); }
.button--small { min-height: 44px; padding: 11px 16px; font-size: .76rem; }
.button--ghost { color: var(--ink); background: transparent; border-color: #9fad9f; box-shadow: none; }
.button--ghost:hover { background: #fff; border-color: var(--ink); box-shadow: var(--shadow-sm); }
.button--light { color: var(--ink); background: #fff; border-color: #fff; box-shadow: none; }
.button--light:hover { background: var(--primary-soft); }

.hero { position: relative; overflow: hidden; background: linear-gradient(125deg, #fbfcfa 0%, #f2f7ee 55%, #e9f2e2 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(24,32,27,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(24,32,27,.08) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, #000, transparent 65%); }
.hero__grid { position: relative; z-index: 1; min-height: 690px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 48px; padding-block: 72px; }
.hero__content { max-width: 650px; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--primary-dark); font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 3px; background: var(--primary); }
.hero h1 { max-width: 690px; margin: 18px 0 24px; font-size: clamp(2.75rem, 5.3vw, 5rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 em { position: relative; color: var(--primary-dark); font-style: normal; }
.hero h1 em::after { content: ""; position: absolute; right: 0; bottom: -6px; left: 0; height: 8px; background: var(--primary); opacity: .22; transform: skewX(-14deg); }
.hero__lead { max-width: 610px; margin: 0; color: var(--text); font-size: 1.08rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 570px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__trust div { padding-inline: 14px; border-right: 1px solid var(--line); }
.hero__trust div:first-child { padding-left: 0; }
.hero__trust div:last-child { border-right: 0; }
.hero__trust strong { display: block; color: var(--primary-dark); font-size: .76rem; }
.hero__trust span { font-weight: 800; font-size: .86rem; }
.hero__visual { position: relative; }
.visual-card { position: relative; overflow: hidden; border: 10px solid rgba(255,255,255,.72); border-radius: 28px; background: #e9f0e4; box-shadow: var(--shadow-lg); }
.construction-scene { width: 100%; aspect-ratio: 1.14; object-fit: cover; }
.visual-note { position: absolute; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; min-width: 220px; padding: 15px; color: #fff; background: rgba(21,26,23,.9); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; backdrop-filter: blur(10px); }
.visual-note__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; color: #17200f; background: var(--primary); border-radius: 50%; font-weight: 900; }
.visual-note strong, .visual-note small { display: block; }
.visual-note small { color: #bcc8bf; }
.hero__pattern { position: absolute; right: -42px; bottom: -42px; z-index: -1; width: 180px; height: 180px; background: radial-gradient(circle, var(--primary) 2px, transparent 2.4px); background-size: 15px 15px; opacity: .5; }

.section { padding-block: 100px; }
.section--compact { padding-block: 28px; }
.section--muted { background: var(--muted); }
.section--dark { color: #fff; background: var(--ink); }
.section-heading { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 70px; margin-bottom: 44px; }
.section-heading h2, .about-content h2, .contact-info h2, .cta-band h2 { margin: 9px 0 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.045em; }
.section-heading p { max-width: 520px; margin: 0; color: var(--text); }
.section-heading--center { display: flex; max-width: 760px; margin-right: auto; margin-left: auto; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.kicker--light { color: #a8df6e; }

.proof-strip { color: #e8eee9; background: var(--ink-2); }
.proof-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-strip__grid > div { display: flex; align-items: center; gap: 16px; padding: 4px 28px; border-right: 1px solid rgba(255,255,255,.13); }
.proof-strip__grid > div:first-child { padding-left: 0; }
.proof-strip__grid > div:last-child { border-right: 0; }
.proof-strip span { color: var(--primary); font-size: 1.45rem; font-weight: 900; }
.proof-strip p { margin: 0; font-size: .86rem; line-height: 1.45; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 310px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card::after { content: ""; position: absolute; right: -30px; bottom: -45px; width: 115px; height: 115px; border: 16px solid var(--primary-soft); border-radius: 50%; transition: transform .35s ease; }
.service-card:hover { transform: translateY(-7px); border-color: #b9d79a; box-shadow: var(--shadow-sm); }
.service-card:hover::after { transform: scale(1.18); }
.service-card__icon { display: grid; place-items: center; width: 56px; height: 56px; color: var(--ink); background: var(--primary-soft); border-radius: 14px; }
.service-card__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service-card__number { position: absolute; top: 28px; right: 28px; color: #cad5cc; font-size: .8rem; font-weight: 900; }
.service-card h3 { margin: 26px 0 10px; font-size: 1.2rem; }
.service-card p { margin: 0 0 24px; color: var(--text); font-size: .92rem; }
.service-card a { position: absolute; bottom: 26px; left: 30px; z-index: 1; color: var(--primary-dark); font-size: .82rem; font-weight: 900; }
.service-card a span { display: inline-block; margin-left: 6px; transition: transform .2s; }
.service-card a:hover span { transform: translateX(4px); }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.about-visual { position: relative; min-height: 520px; }
.about-visual__main { height: 500px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; color: var(--primary); background: linear-gradient(145deg, #2b352e, #121713); }
.blueprint { width: 100%; height: 100%; padding: 44px; opacity: .92; background-image: linear-gradient(rgba(119,199,32,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(119,199,32,.06) 1px, transparent 1px); background-size: 28px 28px; }
.blueprint svg { width: 100%; height: 100%; }
.about-visual__badge { position: absolute; right: -34px; bottom: 36px; width: 230px; padding: 22px; color: var(--ink); background: var(--primary); border-radius: 14px; box-shadow: var(--shadow-lg); }
.about-visual__badge strong, .about-visual__badge span { display: block; }
.about-visual__badge strong { font-size: 1.35rem; }
.about-visual__badge span { margin-top: 4px; font-size: .86rem; }
.about-content > p { max-width: 650px; color: #bdc9c0; font-size: 1.02rem; }
.check-list { display: grid; gap: 18px; margin: 32px 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; }
.check-list li > span { display: grid; place-items: center; width: 34px; height: 34px; color: #17200f; background: var(--primary); border-radius: 50%; font-weight: 900; }
.check-list strong { font-size: 1rem; }
.check-list p { margin: 2px 0 0; color: #9eaaa1; font-size: .9rem; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--primary-dark); font-weight: 900; }
.text-link--light { color: #a8df6e; }

.project-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-button { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: #425047; background: #fff; font-size: .82rem; font-weight: 800; cursor: pointer; }
.filter-button:hover, .filter-button.is-active { color: #17200f; background: var(--primary); border-color: var(--primary); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 20px rgba(25,35,28,.04); transition: transform .25s, box-shadow .25s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.project-card.is-hidden { display: none; }
.project-card__visual { overflow: hidden; aspect-ratio: 1.43; background: var(--muted); }
.project-card__visual svg { width: 100%; height: 100%; transition: transform .5s ease; }
.project-card:hover .project-card__visual svg { transform: scale(1.04); }
.project-card__body { padding: 24px; }
.project-card__meta { display: flex; justify-content: space-between; gap: 12px; color: #758179; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.project-card__meta span:first-child { color: var(--primary-dark); }
.project-card h3 { margin: 12px 0 8px; font-size: 1.22rem; }
.project-card p { margin: 0; color: var(--text); font-size: .9rem; }
.project-card__link { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 20px; padding: 15px 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; font-weight: 900; cursor: pointer; }
.project-card__link span { color: var(--primary-dark); font-size: 1.1rem; }

.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-card { position: relative; min-height: 275px; padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.process-card::after { content: ""; position: absolute; top: 58px; right: -15px; z-index: 2; width: 16px; height: 2px; background: var(--primary); }
.process-card:last-child::after { display: none; }
.process-card > span { position: absolute; top: 20px; right: 20px; color: #ccd6ce; font-size: .76rem; font-weight: 900; }
.process-card__icon { display: grid; place-items: center; width: 54px; height: 54px; color: #18210f; background: var(--primary); border-radius: 15px; font-size: 1.45rem; font-weight: 900; }
.process-card h3 { margin: 24px 0 10px; font-size: 1.05rem; }
.process-card p { margin: 0; color: var(--text); font-size: .86rem; }

.cta-band { position: relative; overflow: hidden; padding-block: 72px; color: #fff; background: var(--primary-dark); }
.cta-band::after { content: "SOBRE-TP"; position: absolute; right: -20px; bottom: -54px; color: rgba(255,255,255,.08); font-size: clamp(5rem, 13vw, 12rem); font-weight: 1000; letter-spacing: -.08em; white-space: nowrap; }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 760px; margin: 0; color: #e5f3da; }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: start; }
.contact-info > p { color: var(--text); }
.contact-points { display: grid; gap: 14px; margin-block: 30px; }
.contact-points > div { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-points__icon { display: grid; place-items: center; width: 42px; height: 42px; color: #17200f; background: var(--primary-soft); border-radius: 12px; font-weight: 900; }
.contact-points strong { font-size: .9rem; }
.contact-points p { margin: 1px 0 0; color: var(--text); font-size: .9rem; }
.contact-note { padding: 20px; border-left: 4px solid var(--primary); background: var(--muted); border-radius: 0 12px 12px 0; }
.contact-note p { margin: 5px 0 0; color: var(--text); font-size: .86rem; }
.quote-form { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.form-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-heading span { font-size: 1.35rem; font-weight: 900; }
.form-heading strong { max-width: 230px; color: var(--text); font-size: .75rem; text-align: right; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid__wide { grid-column: 1 / -1; }
.quote-form label { display: grid; gap: 7px; color: #344038; font-size: .8rem; font-weight: 800; }
.quote-form label > span { color: #d64c3c; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; padding: 14px 15px; border: 1px solid #ced9d1; border-radius: 10px; color: var(--ink); background: #fbfcfb; outline: none; transition: border-color .2s, box-shadow .2s; }
.quote-form textarea { resize: vertical; min-height: 135px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--primary-dark); box-shadow: 0 0 0 4px rgba(119,199,32,.13); }
.quote-form .is-invalid { border-color: #cc4938; box-shadow: 0 0 0 3px rgba(204,73,56,.1); }
.form-consent { display: flex !important; grid-template-columns: 20px 1fr; align-items: start; gap: 10px !important; margin: 18px 0; font-weight: 500 !important; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary-dark); }
.form-consent span { color: var(--text) !important; }
.form-submit { width: 100%; border: 0; }
.form-feedback { min-height: 24px; margin: 12px 0 0; font-size: .86rem; font-weight: 700; text-align: center; }
.form-feedback.is-success { color: #39750b; }
.form-feedback.is-error { color: #b83527; }

.site-footer { color: #c2cdc5; background: #111713; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, .65fr); gap: 50px; padding-block: 70px 50px; }
.footer-brand img { width: 260px; padding: 8px; background: #fff; border-radius: 8px; }
.footer-brand p { max-width: 360px; margin: 20px 0 8px; }
.footer-brand small { color: #7f8d83; }
.site-footer h2 { margin: 0 0 18px; color: #fff; font-size: .95rem; }
.site-footer a { display: block; margin: 8px 0; color: #a9b6ad; font-size: .86rem; }
.site-footer a:hover { color: var(--primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; }
.footer-bottom p { margin: 0; }

.project-dialog { width: min(620px, calc(100% - 32px)); padding: 34px; border: 0; border-radius: 22px; color: var(--ink); box-shadow: var(--shadow-lg); }
.project-dialog::backdrop { background: rgba(10,14,11,.76); backdrop-filter: blur(4px); }
.project-dialog h2 { margin: 7px 0 12px; font-size: 2rem; }
.project-dialog p { color: var(--text); }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--muted); font-size: 1.6rem; cursor: pointer; }
.dialog-placeholder { display: grid; place-items: center; min-height: 210px; margin: 22px 0; color: #eff6e9; background: repeating-linear-gradient(45deg, #263029, #263029 15px, #2d392f 15px, #2d392f 30px); border-radius: 14px; text-align: center; }
.dialog-placeholder span, .dialog-placeholder small { display: block; }
.dialog-placeholder span { font-size: 1.3rem; font-weight: 900; }
.dialog-placeholder small { color: #b8c7bc; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal--delay { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .header__cta { display: none; }
  .brand img { width: 220px; }
  .hero__grid { min-height: auto; grid-template-columns: 1fr; padding-block: 60px; }
  .hero__content { max-width: 760px; }
  .hero__visual { width: min(760px, 100%); }
  .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 50px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-card::after { display: none; }
}

@media (max-width: 860px) {
  .topbar__meta { display: none; }
  .header__inner { min-height: 76px; }
  .brand img { width: 190px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; top: 114px; right: 16px; left: 16px; display: grid; gap: 2px; padding: 16px; visibility: hidden; opacity: 0; transform: translateY(-14px); border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); transition: .25s; }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav a { padding: 13px; }
  .main-nav a::after { display: none; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero__trust { grid-template-columns: repeat(2, 1fr); gap: 14px 0; }
  .hero__trust div:nth-child(2) { border-right: 0; }
  .proof-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .proof-strip__grid > div:nth-child(2) { border-right: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { width: min(620px, calc(100% - 20px)); }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topbar { display: none; }
  .main-nav { top: 84px; }
  .brand img { width: 165px; }
  .hero__grid { padding-block: 44px; gap: 36px; }
  .hero h1 { font-size: clamp(2.5rem, 13vw, 3.8rem); }
  .hero__actions { display: grid; }
  .button { width: 100%; }
  .hero__trust { margin-top: 30px; }
  .visual-card { border-width: 6px; border-radius: 20px; }
  .visual-note { right: 10px; bottom: 10px; min-width: 190px; padding: 10px; }
  .visual-note__icon { width: 34px; height: 34px; }
  .section { padding-block: 72px; }
  .proof-strip__grid { grid-template-columns: 1fr; }
  .proof-strip__grid > div { padding: 10px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .proof-strip__grid > div:last-child { border-bottom: 0; }
  .services-grid, .projects-grid, .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 285px; }
  .about-visual { min-height: 390px; }
  .about-visual__main { height: 380px; }
  .about-visual__badge { right: -8px; bottom: -18px; width: 200px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid__wide { grid-column: auto; }
  .quote-form { padding: 24px 18px; }
  .form-heading { flex-direction: column; }
  .form-heading strong { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
