:root {
  --green-950: #052f2b;
  --green-900: #083f39;
  --green-800: #0d5d54;
  --green-700: #137368;
  --green-600: #17877a;
  --green-100: #dff2ee;
  --green-050: #f1f9f7;
  --gold-600: #b7911f;
  --gold-500: #d3af37;
  --gold-200: #f0df9e;
  --ink: #102c29;
  --muted: #5e706e;
  --line: #d8e4e1;
  --surface: #ffffff;
  --soft: #f6f9f8;
  --cream: #f7f2e5;
  --cream-deep: #eee4ca;
  --shadow: 0 18px 55px rgba(5, 47, 43, .11);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fffdfa;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -70px;
  z-index: 1000;
  padding: 10px 14px;
  color: white;
  background: var(--green-900);
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin: 0 auto; }
.section { padding: 76px 0; }
.section.compact { padding: 54px 0; }
.section.soft {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f4e8 0%, #fff 58%, #edf6f3 100%);
}
.section.soft::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -125px;
  top: -125px;
  border: 38px solid rgba(211, 175, 55, .16);
  transform: rotate(35deg);
}
.section.soft > .container { position: relative; }
.section.tint { background: var(--green-050); }
.section.dark { color: #fff; background: var(--green-950); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--gold-500); border-radius: 9px; }
.dark .eyebrow { color: var(--gold-500); }

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.028em; }
h1 { max-width: 860px; font-size: clamp(2.5rem, 6vw, 4.7rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 3.15rem); }
h3 { font-size: 1.18rem; }
p { margin: 0; }

.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 48px; align-items: end; margin-bottom: 34px; }
.section-head p, .lead, .page-lead { color: var(--muted); font-size: 1.08rem; }
.dark .section-head p, .dark .lead, .dark .page-lead { color: #bcd2cd; }

.topbar { color: #dcebe7; background: var(--green-950); font-size: .78rem; }
.topbar .container { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a { color: #fff; font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(13, 93, 84, .12);
  background: rgba(255, 253, 248, .97);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 28px; }
.brand { width: 205px; flex: 0 0 auto; }
.brand img { width: 100%; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-left: auto; }
.main-nav > a, .nav-trigger {
  padding: 28px 0 25px;
  color: #29423f;
  border: 0;
  background: transparent;
  font-size: .94rem;
  font-weight: 750;
  cursor: pointer;
}
.main-nav > a:hover, .main-nav > a[aria-current="page"], .nav-trigger:hover { color: var(--green-700); }
.nav-group { position: relative; }
.nav-trigger { display: flex; align-items: center; gap: 7px; }
.nav-trigger::after { content: ""; width: 7px; height: 7px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-2px); }
.nav-panel {
  position: absolute;
  left: 50%;
  top: calc(100% - 5px);
  width: 310px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
  transition: .18s ease;
}
.nav-panel a { display: block; padding: 11px 12px; border-radius: 9px; color: #29423f; font-size: .91rem; font-weight: 700; }
.nav-panel a:hover { color: var(--green-800); background: var(--green-050); }
.nav-group:hover .nav-panel, .nav-group:focus-within .nav-panel, .nav-group.open .nav-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.header-cta { margin-left: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--green-900); }

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: #fff; background: var(--green-700); box-shadow: 0 10px 26px rgba(19, 115, 104, .2); }
.btn.primary:hover { background: var(--green-800); }
.btn.gold { color: #102c29; background: var(--gold-500); }
.btn.outline { color: var(--green-800); border-color: var(--green-700); background: transparent; }
.dark .btn.outline { color: #fff; border-color: #729d95; }
.hero .btn.outline { color: #fff; border-color: rgba(255, 255, 255, .58); background: rgba(3, 39, 35, .2); }
.hero .btn.outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn.small { min-height: 42px; padding: 10px 15px; font-size: .88rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--green-950);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/saniz-institucional-hero-obra.png") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 39, 35, .97) 0%, rgba(3, 39, 35, .86) 49%, rgba(3, 39, 35, .18) 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .55fr); gap: 76px; align-items: end; padding: 88px 0 82px; }
.hero-grid::before { content: ""; position: absolute; right: -110px; top: -135px; width: 360px; height: 360px; border: 1px solid rgba(211, 175, 55, .52); transform: rotate(42deg); }
.hero-grid > * { position: relative; z-index: 1; }
.hero h1 span { color: var(--gold-500); }
.hero .lead { max-width: 710px; margin-top: 22px; color: #d7e5e2; font-size: 1.12rem; }
.hero-signature { max-width: 335px; margin-bottom: 8px; padding: 12px 0 12px 24px; border-left: 4px solid var(--gold-500); }
.hero-signature-number { display: block; margin-bottom: 20px; color: var(--gold-500); font-size: .8rem; font-weight: 900; letter-spacing: .16em; }
.hero-signature strong { display: block; color: #fff; font-size: 1.35rem; line-height: 1.25; }
.hero-signature p { margin-top: 12px; color: #c9dcd7; font-size: .92rem; }

.trust-strip { border: 0; background: var(--green-900); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 104px; display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-right: 1px solid rgba(255,255,255,.13); }
.trust-item:last-child { border-right: 0; }
.trust-item b { display: block; color: #fff; }
.trust-item span { display: block; color: #bcd2cd; font-size: .84rem; }
.trust-mark { width: 38px; height: 38px; display: grid !important; place-items: center; flex: 0 0 auto; border: 1px solid var(--gold-500); border-radius: 50%; color: var(--gold-500) !important; background: transparent; font-weight: 900; }

.pillars-section { position: relative; overflow: hidden; background: #fffdfa; }
.pillars-section::after { content: ""; position: absolute; left: -85px; bottom: -120px; width: 230px; height: 230px; background: var(--gold-500); opacity: .08; transform: rotate(42deg); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillar-card { position: relative; min-height: 385px; overflow: hidden; padding: 34px 30px 30px; border: 1px solid var(--cream-deep); background: var(--cream); }
.pillar-card::after { content: ""; position: absolute; right: -35px; bottom: -50px; width: 115px; height: 115px; border: 22px solid rgba(211,175,55,.17); transform: rotate(33deg); }
.pillar-card.featured { color: #fff; border-color: var(--green-900); background: var(--green-900); transform: translateY(-16px); }
.pillar-card img { width: 110px; height: 88px; margin: 8px 0 24px; object-fit: contain; object-position: left center; }
.pillar-card:nth-child(3) img { width: 88px; }
.pillar-number { display: block; color: var(--gold-600); font-size: .74rem; font-weight: 900; letter-spacing: .14em; }
.pillar-card h3 { position: relative; z-index: 1; margin-bottom: 12px; color: var(--green-900); font-size: 1.35rem; }
.pillar-card p { position: relative; z-index: 1; color: var(--muted); }
.pillar-card.featured h3 { color: #fff; }
.pillar-card.featured p { color: #c6d9d4; }

.field-story { position: relative; overflow: hidden; color: #fff; background: var(--green-950); }
.field-story::after { content: ""; position: absolute; right: -120px; top: -190px; width: 390px; height: 390px; border: 52px solid rgba(211,175,55,.12); transform: rotate(45deg); }
.field-story-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); gap: 0; align-items: center; }
.field-story-image { position: relative; margin: -18px 0; padding: 0 38px 38px 0; }
.field-story-image::after { content: ""; position: absolute; inset: 38px 0 0 38px; z-index: -1; background: var(--gold-500); }
.field-story-image img { width: 100%; min-height: 430px; object-fit: cover; }
.field-story-copy { padding: 48px 0 48px 64px; }
.field-story-copy h2 { max-width: 590px; }
.field-story-copy > p:not(.eyebrow) { margin-top: 22px; color: #c4d8d3; }
.field-story-copy > strong { display: block; margin-top: 24px; color: var(--gold-500); font-size: 1.18rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }

.card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}
.card.hover { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card.hover:hover { transform: translateY(-4px); border-color: #9dc9c1; box-shadow: var(--shadow); }
.card-index { display: inline-flex; min-width: 36px; height: 28px; align-items: center; justify-content: center; margin-bottom: 22px; padding: 0 9px; border-radius: 20px; color: var(--green-950); background: var(--gold-500); font-size: .76rem; font-weight: 900; }
.card h3 { margin-bottom: 10px; color: var(--green-900); }
.card p { color: var(--muted); font-size: .95rem; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--green-700); font-weight: 850; }
.card-link::after { content: "→"; }
.card-tag { display: inline-flex; margin-bottom: 16px; padding: 5px 9px; border-radius: 20px; color: var(--green-800); background: var(--green-100); font-size: .74rem; font-weight: 850; text-transform: uppercase; }

.solution-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.solution-cards .card { min-height: 300px; overflow: hidden; border: 0; border-top: 5px solid var(--gold-500); box-shadow: 0 16px 42px rgba(5,47,43,.09); }
.solution-cards .card:nth-child(2), .solution-cards .card:nth-child(5) { color: #fff; border-top-color: var(--gold-500); background: var(--green-900); }
.solution-cards .card:nth-child(4), .solution-cards .card:nth-child(5) { min-height: 260px; }
.solution-cards .card:nth-child(4) { grid-column: 1 / 2; margin-left: 50%; }
.solution-cards .card:nth-child(5) { grid-column: 2 / 4; margin-right: 25%; }
.solution-cards .card:nth-child(2) h3, .solution-cards .card:nth-child(5) h3 { color: #fff; }
.solution-cards .card:nth-child(2) p, .solution-cards .card:nth-child(5) p { color: #c2d6d1; }
.solution-cards .card:nth-child(2) .card-link, .solution-cards .card:nth-child(5) .card-link { color: var(--gold-500); }

.process { counter-reset: process; }
.process-step { position: relative; padding: 26px 22px 24px 68px; border-left: 1px solid var(--line); }
.process-step::before { counter-increment: process; content: counter(process); position: absolute; left: 20px; top: 24px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--green-950); background: var(--gold-500); font-size: .82rem; font-weight: 900; }
.process-step h3 { margin-bottom: 7px; color: var(--green-900); }
.process-step p { color: var(--muted); }

.method-section { background: #fff; }
.method-showcase { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 42px; align-items: stretch; }
.method-visual { position: relative; overflow: hidden; border: 10px solid #fff; outline: 1px solid var(--cream-deep); box-shadow: 0 24px 60px rgba(5,47,43,.12); }
.method-visual::before { content: ""; position: absolute; left: -50px; top: -50px; z-index: 1; width: 120px; height: 120px; background: rgba(211,175,55,.88); transform: rotate(45deg); }
.method-visual img { width: 100%; height: 100%; object-fit: cover; }
.method-process { padding: 10px 0; }
.method-process .process-step { border-left-color: var(--gold-200); }
.method-button { justify-content: flex-end; margin-top: 22px; }

.app-band { position: relative; overflow: hidden; border: 1px solid rgba(211,175,55,.34); border-radius: 0; background: linear-gradient(135deg, #0b5149, #031f1c); }
.app-band::after { content: ""; position: absolute; right: -110px; top: -190px; width: 330px; height: 330px; border: 44px solid rgba(211,175,55,.18); transform: rotate(45deg); }
.app-band > * { position: relative; z-index: 1; }
.app-band-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 38px; align-items: center; padding: 48px; }
.app-band h2 { color: #fff; }
.app-band p { margin-top: 16px; color: #bed2cd; }
.app-screen { position: relative; padding: 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: #071d1a; box-shadow: 0 30px 70px rgba(0,0,0,.28); }
.app-screen img, .app-screen video { width: 100%; border-radius: 11px; }

.founder-card { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, #fff, var(--green-050)); }
.founder-mark { width: 160px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 34px; color: var(--gold-500); background: var(--green-950); font-size: 3rem; font-weight: 900; letter-spacing: -.07em; }
.founder-card h3 { margin-bottom: 10px; color: var(--green-900); font-size: 1.5rem; }
.founder-card p { color: var(--muted); }

.tool-card { min-height: 260px; display: flex; flex-direction: column; }
.tool-card .tool-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 14px; color: var(--green-950); background: var(--gold-500); font-size: 1.05rem; font-weight: 950; }
.tool-card .card-link { margin-top: auto; }

.page-hero { position: relative; isolation: isolate; min-height: 330px; display: flex; align-items: center; overflow: hidden; padding: 54px 0 48px; color: #fff; background: var(--green-950); border-bottom: 6px solid var(--gold-500); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/saniz-servicos-gestao-obras.png") center/cover no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,38,34,.96), rgba(3,38,34,.75) 68%, rgba(3,38,34,.38)); }
.page-hero-accent { position: absolute; right: 7%; top: -150px; width: 330px; height: 330px; border: 1px solid rgba(211,175,55,.55); transform: rotate(43deg); }
.page-hero h1 { max-width: 920px; color: #fff; font-size: clamp(2.15rem, 4vw, 3.35rem); }
.page-hero .eyebrow { color: var(--gold-500); }
.page-hero .page-lead { max-width: 830px; margin-top: 18px; color: #ccddd9; }
.breadcrumbs { margin-bottom: 18px; color: #bfd1cd; font-size: .82rem; }
.breadcrumbs a { color: var(--gold-500); font-weight: 750; }

.content-flow > * + * { margin-top: 22px; }
.content-flow h2 { margin-top: 44px; color: var(--green-950); font-size: clamp(1.55rem, 3vw, 2.35rem); }
.content-flow h3 { margin-top: 30px; color: var(--green-900); }
.content-flow p, .content-flow li { color: #405653; }
.content-flow ul, .content-flow ol { margin: 14px 0 0; padding-left: 22px; }
.content-flow li + li { margin-top: 8px; }
.callout { padding: 22px 24px; border-left: 4px solid var(--gold-500); border-radius: 0 12px 12px 0; background: var(--green-050); }
.callout strong { color: var(--green-900); }

.deliverables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.deliverable { position: relative; padding: 14px 16px 14px 44px; border: 1px solid var(--line); border-radius: 11px; color: #37504c; background: #fff; }
.deliverable::before { content: "✓"; position: absolute; left: 16px; color: var(--green-700); font-weight: 950; }

.comparison { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); }
.comparison th, .comparison td { padding: 15px 17px; border-bottom: 1px solid var(--line); text-align: left; }
.comparison th { color: var(--green-900); background: var(--green-050); }
.comparison tr:last-child td { border-bottom: 0; }

.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.faq-list summary { padding: 19px 22px; color: var(--green-900); font-weight: 850; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--gold-600); font-size: 1.3rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 22px 20px; color: var(--muted); }

.calculator-shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 24px; align-items: start; }
.calculator-form, .calculator-result { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.calculator-result { position: sticky; top: 112px; color: #fff; background: var(--green-950); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #29423f; font-size: .86rem; font-weight: 800; }
.field small { color: var(--muted); font-size: .75rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  border: 1px solid #bfd2ce;
  border-radius: 10px;
  outline: 0;
  background: #fff;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(19,115,104,.12); }
.calc-group { margin-top: 20px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.calc-group summary { padding: 16px 18px; color: var(--green-900); background: var(--green-050); font-weight: 850; cursor: pointer; }
.calc-group-content { padding: 18px; }
.result-kicker { color: var(--gold-500); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.result-main { margin: 6px 0 24px; color: #fff; font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 900; letter-spacing: -.06em; line-height: 1; }
.result-row { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); }
.result-row span { color: #bcd2cd; }
.result-row b { text-align: right; }
.calc-alert { margin-top: 15px; padding: 12px 14px; border-radius: 10px; color: #5a4410; background: #fff1bc; font-size: .84rem; }
.calculator-note { margin-top: 22px; color: var(--muted); font-size: .84rem; }

.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 30px; }
.contact-info { padding: 28px; color: #fff; border-radius: var(--radius-lg); background: var(--green-950); }
.contact-info h2 { font-size: 1.75rem; }
.contact-info p { margin-top: 12px; color: #bed2cd; }
.contact-list { margin: 28px 0 0; padding: 0; list-style: none; }
.contact-list li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-list b { display: block; color: var(--gold-500); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; }
.contact-list a, .contact-list span { display: block; margin-top: 4px; }
.contact-form { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }

.article-meta { margin-top: 16px; color: var(--muted); font-size: .86rem; }
.article-list { display: grid; gap: 18px; }
.article-card { display: grid; grid-template-columns: 180px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.article-visual { min-height: 180px; display: grid; place-items: center; color: var(--gold-500); background: var(--green-950); font-size: 2.3rem; font-weight: 900; }
.article-copy { padding: 24px; }
.article-copy p { margin-top: 10px; color: var(--muted); }

.media-link { margin: 10px 2px 0 !important; font-size: .82rem; }
.media-link a { color: var(--gold-500); font-weight: 850; }
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.media-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.media-card a { display: block; overflow: hidden; background: var(--green-950); }
.media-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s ease; }
.media-card:hover img { transform: scale(1.015); }
.media-card figcaption { display: grid; gap: 8px; padding: 20px 22px 23px; }
.media-card figcaption strong { color: var(--green-900); font-size: 1.05rem; }
.media-card figcaption span { color: var(--muted); font-size: .9rem; }
.media-callout { margin-top: 28px; }
.video-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); }
.video-thumb { position: relative; min-height: 340px; overflow: hidden; background: var(--green-950); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb span { position: absolute; left: 24px; bottom: 24px; padding: 11px 18px; border-radius: 999px; color: var(--green-950); background: var(--gold-500); font-weight: 900; }
.video-copy { align-self: center; padding: 36px; }
.video-copy h2 { margin-top: 14px; color: var(--green-950); font-size: clamp(1.6rem, 3vw, 2.45rem); }
.video-copy p { margin-top: 14px; color: var(--muted); }
.video-copy small { display: block; margin-top: 20px; color: var(--green-700); font-weight: 800; }
.youtube-frame { position: relative; overflow: hidden; padding-top: 56.25%; border-radius: var(--radius-lg); background: var(--green-950); box-shadow: var(--shadow-md); }
.youtube-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.cta-section { position: relative; isolation: isolate; overflow: hidden; padding: 68px 0; color: #fff; background: var(--green-900); }
.cta-section::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/saniz-servicos-gestao-obras.png") center 58%/cover no-repeat; }
.cta-section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,38,34,.97), rgba(7,70,63,.85)); }
.cta-box { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; }
.cta-box h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.cta-box p { max-width: 720px; margin-top: 11px; color: #c2d7d2; }

.site-footer { position: relative; color: #b7cbc6; border-top: 5px solid var(--gold-500); background: #032622; }
.site-footer::before { content: ""; position: absolute; left: 0; top: 0; width: 34%; height: 100%; opacity: .055; background: linear-gradient(135deg, transparent 35%, var(--gold-500) 35%, var(--gold-500) 55%, transparent 55%); pointer-events: none; }
.site-footer > .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .85fr 1.15fr; gap: 38px; padding: 54px 0 38px; }
.footer-brand img { width: 220px; margin-bottom: 18px; padding: 10px 14px; border-radius: 12px; background: #fff; }
.footer-brand p { max-width: 350px; }
.footer-col h3 { margin-bottom: 15px; color: #fff; font-size: .83rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-col a, .footer-col span { display: block; margin: 9px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #16b96b; box-shadow: 0 14px 34px rgba(0,0,0,.22); font-weight: 950; }

.legal-note { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: var(--soft); font-size: .86rem; }

@media (max-width: 1040px) {
  .menu-toggle { display: block; }
  .header-cta { margin-left: 0; }
  .main-nav {
    position: fixed;
    inset: 116px 0 auto;
    max-height: calc(100vh - 116px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow: auto;
    padding: 14px 20px 28px;
    border-top: 1px solid var(--line);
    background: #fff;
  }
  .nav-open .main-nav { display: flex; }
  .main-nav > a, .nav-trigger { width: 100%; padding: 14px 6px; text-align: left; }
  .nav-trigger { justify-content: space-between; }
  .nav-panel { position: static; display: none; width: 100%; padding: 4px 0 8px 14px; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; }
  .nav-group.open .nav-panel { display: block; transform: none; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-signature { max-width: 520px; }
  .field-story-grid, .method-showcase { grid-template-columns: 1fr; }
  .field-story-copy { padding: 58px 0 20px; }
  .grid-5.solution-cards { grid-template-columns: repeat(2, 1fr); }
  .solution-cards .card:nth-child(4), .solution-cards .card:nth-child(5) { grid-column: auto; margin: 0; }
  .solution-cards .card:nth-child(5) { grid-column: 1 / -1; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 56px 0; }
  .section.compact { padding: 42px 0; }
  .topbar .container { min-height: 38px; justify-content: center; }
  .topbar span { display: none; }
  .header-inner { min-height: 72px; }
  .brand { width: 164px; }
  .main-nav { inset: 110px 0 auto; max-height: calc(100vh - 110px); }
  .section-head, .hero-grid, .app-band-grid, .calculator-shell, .contact-layout, .cta-box, .video-feature { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-grid { gap: 32px; padding: 64px 0; }
  .hero::after { background: rgba(3, 39, 35, .88); }
  .hero-grid::before { right: -210px; }
  .hero-signature { padding-left: 18px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .grid-2, .grid-3, .grid-4, .grid-5, .field-grid, .deliverables, .media-grid, .pillars-grid, .solution-cards { grid-template-columns: 1fr; }
  .pillar-card { min-height: 0; }
  .pillar-card.featured { transform: none; }
  .solution-cards .card:nth-child(5) { grid-column: auto; }
  .field-story-image { margin: 0; padding: 0 18px 18px 0; }
  .field-story-image::after { inset: 18px 0 0 18px; }
  .field-story-image img { min-height: 260px; }
  .field-story-copy { padding: 48px 0 0; }
  .method-showcase { gap: 28px; }
  .method-visual { border-width: 5px; }
  .page-hero { min-height: 280px; padding: 44px 0 38px; }
  .page-hero-accent { right: -190px; }
  .video-thumb { min-height: 220px; }
  .video-copy { padding: 26px; }
  .app-band-grid { padding: 28px 22px; }
  .founder-card { grid-template-columns: 1fr; padding: 26px; }
  .founder-mark { width: 108px; border-radius: 25px; }
  .calculator-result { position: static; }
  .article-card { grid-template-columns: 1fr; }
  .article-visual { min-height: 100px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .cta-box .button-row { margin-top: 0; }
}

@media print {
  .topbar, .site-header, .site-footer, .whatsapp-float, .cta-section, .button-row, .menu-toggle { display: none !important; }
  .page-hero, .section { padding: 20px 0; }
  .calculator-shell { grid-template-columns: 1fr 1fr; }
  .calculator-result { position: static; color: #000; border: 1px solid #777; background: #fff; }
  .calculator-result .result-main, .calculator-result .result-kicker { color: #000; }
  .result-row span { color: #333; }
}

/* Identidade visual original do site institucional */
.original-topbar {
  height: 36px;
  background: #137368;
}

.site-header {
  position: sticky;
  top: 0;
  border-bottom: 0;
  background: #fff;
  backdrop-filter: none;
}

.site-header .header-inner {
  width: min(calc(100% - 40px), 1020px);
  min-height: 76px;
  gap: 32px;
}

.site-header .brand {
  width: 146px;
}

.site-header .brand img {
  width: 100%;
  height: auto;
}

.site-header .main-nav {
  gap: 28px;
}

.site-header .main-nav > a,
.site-header .nav-trigger {
  padding: 25px 0 23px;
  color: #252525;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.site-header .main-nav > a:hover,
.site-header .main-nav > a[aria-current="page"],
.site-header .nav-trigger:hover {
  color: #137368;
}

.site-header .nav-panel {
  width: 290px;
  border-radius: 3px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.site-header .nav-panel a {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 500;
}

.original-hero {
  min-height: 360px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(rgba(3, 61, 55, .68), rgba(3, 61, 55, .68)),
    url("/assets/saniz-institucional-hero-obra.png") center 51% / cover no-repeat;
}

.original-hero-inner {
  padding: 42px 0 34px;
  text-align: center;
}

.original-hero h1,
.original-pillars h2,
.original-services h2,
.original-tools h2,
.original-pillar h3,
.original-service-card h3,
.original-app-card h3 {
  font-family: Outfit, Arial, sans-serif;
}

.original-hero h1 {
  max-width: 780px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.27;
  letter-spacing: 0;
  text-transform: uppercase;
}

.original-hero p {
  margin-top: 12px;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.original-intro {
  padding: 24px 0 28px;
  background: #fff;
}

.original-intro-grid {
  width: min(calc(100% - 40px), 1010px);
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: 58px;
  align-items: center;
}

.original-intro-copy {
  text-align: center;
  color: #313131;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.42;
}

.original-intro-copy p + p {
  margin-top: 20px;
}

.original-journey {
  margin: 0;
}

.original-journey img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.original-button-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
}

.original-btn {
  min-width: 162px;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 999px;
  color: #fff;
  font-family: Outfit, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.original-btn.green { background: #137368; }
.original-btn.gold { color: #fff; background: #d3af37; }
.original-btn:hover { filter: brightness(.94); }

.original-pillars {
  padding: 34px 0 62px;
  background: #f4f4f4;
}

.original-pillars h2,
.original-services h2,
.original-tools h2 {
  color: #171717;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.original-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.original-pillar {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 42px 32px;
  border-radius: 50%;
  background: #fff;
  text-align: center;
}

.original-pillar img {
  width: 98px;
  height: auto;
  max-height: 92px;
  margin-bottom: 16px;
  object-fit: contain;
}

.original-pillar:nth-child(3) img {
  width: 84px;
}

.original-pillar h3 {
  color: #137368;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0;
}

.original-pillar p {
  max-width: 255px;
  margin-top: 12px;
  color: #444;
  font-size: 14px;
  line-height: 1.55;
}

.original-project {
  padding: 0 0 64px;
  background: #f4f4f4;
}

.original-project img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.original-services {
  position: relative;
  isolation: isolate;
  padding: 64px 0 70px;
  color: #fff;
  background: #063f39;
}

.original-services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/saniz-servicos-gestao-obras.png") center / cover no-repeat;
}

.original-services::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(3, 50, 45, .9);
}

.original-services h2 {
  color: #d3af37;
}

.original-services-subtitle {
  max-width: 780px;
  margin: 10px auto 28px;
  color: #d3af37;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.original-services-label {
  width: fit-content;
  display: block;
  margin: 0 auto 20px;
  padding: 9px 22px;
  border: 1px solid #d3af37;
  border-radius: 999px;
  color: #d3af37;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.original-services-lead {
  max-width: 820px;
  margin: 0 auto 34px;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.original-app-card {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(211, 175, 55, .75);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(8, 76, 68, .98), rgba(2, 39, 35, .98));
}

.original-app-card > div > span {
  color: #d3af37;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.original-app-card h3 {
  margin-top: 6px;
  color: #fff;
  font-size: 34px;
  letter-spacing: 0;
}

.original-app-card p {
  margin: 15px 0 23px;
  color: #d6e5e2;
}

.original-app-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.original-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.original-service-card {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.original-service-card img {
  width: 100%;
  height: auto;
}

.original-service-card > div {
  padding: 22px 22px 24px;
}

.original-service-card h3 {
  color: #137368;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.original-service-card p {
  margin-top: 10px;
  color: #4b5553;
  font-size: 14px;
}

.original-tools {
  padding: 62px 0 70px;
  background: #fff;
}

.original-tools-lead {
  max-width: 760px;
  margin: 12px auto 32px;
  color: #555;
  text-align: center;
}

.original-tools-grid {
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 auto;
}

.original-tool-card {
  padding: 28px;
  border: 1px solid #d8e4e1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(5, 47, 43, .08);
}

.original-tool-card > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: #137368;
  font-weight: 800;
}

.original-tool-card h3 {
  color: #137368;
  font-family: Outfit, Arial, sans-serif;
  font-size: 24px;
}

.original-tool-card p {
  margin: 10px 0 18px;
  color: #555;
}

.original-tool-card b { color: #b7911f; }

.original-footer {
  color: rgba(255, 255, 255, .72);
  border-top: 0;
  background: #137368;
}

.original-footer::before { display: none; }

.original-footer .footer-grid {
  grid-template-columns: .75fr 1.45fr 1fr;
  gap: 76px;
  padding: 54px 0 38px;
}

.original-footer .footer-col h3 {
  margin-bottom: 20px;
  color: #d3af37;
  font-family: Outfit, Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
}

.original-footer .footer-col a {
  margin: 10px 0;
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
}

.original-footer .footer-col a:hover { color: #fff; }
.original-footer .footer-contact a { display: flex; gap: 10px; align-items: flex-start; }
.original-footer .footer-contact span { margin: 0; color: #d3af37; }

.original-footer .footer-bottom {
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

@media (max-width: 1040px) {
  .site-header .header-inner { width: min(calc(100% - 40px), 1020px); }
  .site-header .main-nav { inset: 112px 0 auto; max-height: calc(100vh - 112px); gap: 0; }
  .site-header .main-nav > a,
  .site-header .nav-trigger { padding: 14px 6px; }
  .original-pillar { padding: 30px 24px; }
  .original-pillar h3 { font-size: 21px; }
  .original-footer .footer-grid { gap: 36px; }
}

@media (max-width: 760px) {
  .original-topbar { height: 20px; }
  .site-header .header-inner { min-height: 68px; }
  .site-header .brand { width: 136px; }
  .site-header .main-nav { inset: 88px 0 auto; max-height: calc(100vh - 88px); }
  .original-hero { min-height: 300px; }
  .original-hero h1 { font-size: clamp(36px, 11vw, 48px); line-height: 1.15; }
  .original-intro { padding: 36px 0 42px; }
  .original-intro-grid,
  .original-pillars-grid,
  .original-app-card,
  .original-service-grid,
  .original-tools-grid,
  .original-footer .footer-grid { grid-template-columns: 1fr; }
  .original-intro-grid { gap: 34px; }
  .original-intro-copy { font-size: 15px; }
  .original-button-row { gap: 12px; }
  .original-btn { min-width: 0; padding-inline: 20px; }
  .original-pillars { padding: 42px 0 50px; }
  .original-pillars-grid { max-width: 380px; margin-inline: auto; }
  .original-pillar { aspect-ratio: 1; }
  .original-project { padding-bottom: 48px; }
  .original-services { padding: 48px 0 54px; }
  .original-services-subtitle { font-size: 16px; }
  .original-app-card { padding: 24px; }
  .original-app-card > img { grid-row: 1; }
  .original-service-card { max-width: 540px; margin-inline: auto; }
  .original-tools { padding: 48px 0 54px; }
  .original-footer .footer-grid { gap: 28px; }
}
