/* ==========================================================================
   Marromil — Design system
   Cores: verde institucional #156A36 · profundo #0D4027 · apoio #6EAD76
          branco · cinza claro #F2F4F1 · grafite #252A26
   Fontes: Montserrat (títulos) · Inter (textos)
   ========================================================================== */
:root {
  --green: #156A36;
  --green-deep: #0D4027;
  --green-soft: #6EAD76;
  --white: #FFFFFF;
  --gray: #F2F4F1;
  --graphite: #252A26;
  --graphite-70: rgba(37, 42, 38, .72);
  --line: rgba(21, 106, 54, .18);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px -14px rgba(13, 64, 39, .35);
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--graphite); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--green-deep); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--green-soft); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--white); color: var(--green-deep); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section--gray { background: var(--gray); }
.section--deep { background: var(--green-deep); color: rgba(255,255,255,.88); }
.section--deep h2, .section--deep h3 { color: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.section--deep .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-final .eyebrow { color: var(--green-soft); }
.lead { font-size: 1.2rem; color: var(--graphite-70); max-width: 62ch; }
.section--deep .lead, .hero .lead, .page-hero .lead { color: rgba(255,255,255,.82); }
.section-head { max-width: 760px; margin-bottom: 2.75rem; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--font-head); font-weight: 700; font-size: .95rem; text-decoration: none; padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-deep); color: var(--white); transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--green-deep); }
.btn--light:hover { background: var(--gray); color: var(--green-deep); transform: translateY(-1px); }
.btn--outline { border-color: currentColor; color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--green-deep); border-color: var(--white); }
.btn--sm { padding: .65rem 1.1rem; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background .3s, box-shadow .3s, height .3s; color: var(--white); }
.site-header.is-solid, .site-header.always-solid { background: var(--green-deep); box-shadow: 0 6px 22px -12px rgba(0,0,0,.5); }
.site-header.is-solid { --header-h: 66px; height: 66px; }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; width: min(100% - 2.5rem, 1320px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; }
.site-header.is-solid .brand img { height: 46px; }
.main-nav { justify-self: center; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: .6rem 1rem; color: rgba(255,255,255,.9); text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: 999px; transition: color .2s, background .2s; }
.main-nav a::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .3rem; height: 2px; background: var(--green-soft); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after, .main-nav a[aria-current='page']::after { transform: scaleX(1); }
.main-nav a[aria-current='page'] { color: var(--white); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: .35rem; }
.social-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--white); transition: background .2s; }
.social-link:hover { background: rgba(255,255,255,.14); color: var(--white); }
.social-link svg { width: 20px; height: 20px; }
.header-cta { margin-left: .6rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--white); cursor: pointer; border-radius: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(100svh, 860px); display: flex; align-items: center; background: var(--green-deep); color: var(--white); overflow: hidden; isolation: isolate; }
.hero__photo { position: absolute; inset: 0; z-index: -3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(13,64,39,.96) 0%, rgba(13,64,39,.9) 36%, rgba(13,64,39,.35) 70%, rgba(13,64,39,.1) 100%); }
/* curvas institucionais */
.hero__curve { position: absolute; z-index: -1; pointer-events: none; }
.hero__curve--a { width: min(62vw, 880px); aspect-ratio: 1; left: -18vw; bottom: -34%; border-radius: 50%; background: var(--green); opacity: .92; }
.hero__curve--b { width: min(38vw, 520px); aspect-ratio: 1; right: -8vw; top: -16%; border-radius: 50%; border: 56px solid var(--green); opacity: .85; }
.hero__curve--c { width: min(26vw, 340px); aspect-ratio: 1; right: 14vw; bottom: -12%; border-radius: 0 100% 0 0; background: var(--green-soft); opacity: .9; }
.hero__lines { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.hero__content { padding: calc(var(--header-h) + 3rem) 0 5.5rem; max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--green-soft); }
.hero .lead { margin-bottom: 2rem; }
.hero__badge { position: absolute; right: max(1.25rem, calc((100vw - var(--container)) / 2)); bottom: 2.25rem; background: var(--white); color: var(--green-deep); border-radius: var(--radius); padding: 1rem 1.4rem; display: flex; gap: .9rem; align-items: center; box-shadow: var(--shadow); max-width: 300px; }
.hero__badge strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--green); font-weight: 800; }
.hero__badge span { font-size: .88rem; line-height: 1.35; font-weight: 500; }

/* Page hero (internas) */
.page-hero { position: relative; background: var(--green-deep); color: var(--white); padding: calc(var(--header-h) + 4rem) 0 4.5rem; overflow: hidden; isolation: isolate; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: .4em; }
.page-hero::before { content: ''; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; right: -140px; top: -200px; border-radius: 50%; border: 54px solid var(--green); opacity: .75; }
.page-hero::after { content: ''; position: absolute; z-index: -1; width: 220px; aspect-ratio: 1; right: 14%; bottom: -110px; border-radius: 100% 0 0 0; background: var(--green-soft); opacity: .85; }
.breadcrumb { font-size: .88rem; margin-bottom: 1.25rem; color: rgba(255,255,255,.75); }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: .4rem; opacity: .6; }

/* Faixa de números */
.stats { background: var(--white); position: relative; z-index: 2; margin-top: -2.5rem; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: 0 18px 40px -22px rgba(13,64,39,.5); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 1.75rem 1.5rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; color: var(--green); line-height: 1; margin-bottom: .45rem; }
.stat span { font-size: .93rem; color: var(--graphite-70); line-height: 1.4; display: block; }

/* Institucional */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__media { position: relative; padding: 0 0 2.5rem 2.5rem; }
.about__media::before { content: ''; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: 0 0 0 100%; background: var(--green); z-index: 0; }
.about__media img { position: relative; z-index: 1; border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.about__media .mini { position: absolute; z-index: 2; right: -1.25rem; bottom: 0; width: 42%; border: 6px solid var(--white); border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 3px; }

/* Categorias */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cat-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--graphite); transition: transform .25s, box-shadow .25s, border-color .25s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-soft); color: var(--graphite); }
.cat-card__img { aspect-ratio: 4/5; overflow: hidden; background: var(--green); }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-card__img img { transform: scale(1.04); }
.cat-card__body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.cat-card__body h3 { margin: 0; font-size: 1.1rem; }
.cat-card__body p { margin: 0; font-size: .94rem; color: var(--graphite-70); line-height: 1.5; }
.cat-card__more { margin-top: auto; padding-top: .6rem; display: inline-flex; gap: .4rem; align-items: center; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--green); }
.cat-card__more svg { width: 16px; height: 16px; transition: transform .2s; }
.cat-card:hover .cat-card__more svg { transform: translateX(4px); }

/* Linha completa — módulos */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.module { background: var(--white); padding: 1.5rem 1.35rem; display: flex; flex-direction: column; gap: .35rem; }
.module b { font-family: var(--font-head); font-size: 1rem; color: var(--green-deep); }
.module span { font-size: .9rem; color: var(--graphite-70); line-height: 1.45; }
.module i { width: 28px; height: 3px; background: var(--green-soft); margin-bottom: .6rem; border-radius: 2px; }

/* Diferenciais */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.diff { padding: 1.75rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.diff__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green); display: grid; place-items: center; margin-bottom: 1.1rem; color: var(--white); }
.diff__icon svg { width: 24px; height: 24px; }
.diff h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.diff p { margin: 0; font-size: .96rem; color: rgba(255,255,255,.8); line-height: 1.55; }
.section--deep .tech-lines { position: absolute; inset: 0; opacity: .35; pointer-events: none; }

/* Marcas */
.brands-strip { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; overflow: hidden; }
.brands-strip img { width: 100%; max-width: 1100px; margin-inline: auto; }
.brand-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; list-style: none; padding: 0; }
.brand-chips li { padding: .45rem 1rem; border-radius: 999px; background: var(--gray); font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--green-deep); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--gray); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__tag { position: absolute; left: 1rem; top: 1rem; background: var(--green); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 999px; }
.post-card__body { padding: 1.35rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post-meta { font-size: .84rem; color: var(--graphite-70); display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.post-card h3 { font-size: 1.1rem; line-height: 1.3; margin: 0; }
.post-card h3 a { color: var(--green-deep); text-decoration: none; }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card p { margin: 0; font-size: .95rem; color: var(--graphite-70); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__more { margin-top: auto; padding-top: .5rem; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--green); }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; align-items: center; }
.chip { font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--green-deep); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed='true'] { background: var(--green); border-color: var(--green); color: var(--white); }
.search { position: relative; flex: 1 1 240px; max-width: 360px; margin-left: auto; }
.search input { width: 100%; font: inherit; font-size: .95rem; padding: .7rem 1rem .7rem 2.7rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--graphite); }
.search svg { position: absolute; left: 1rem; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--green); }
.empty-state { display: none; padding: 2.5rem; text-align: center; background: var(--gray); border-radius: var(--radius); }
.empty-state.is-visible { display: block; }
[hidden] { display: none !important; }

/* Artigo */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; aspect-ratio: 16/8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 72ch; font-size: 1.08rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8rem; }
.prose li { margin-bottom: .55em; }
.prose strong { color: var(--green-deep); }
.sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.side-card { background: var(--gray); border-radius: var(--radius); padding: 1.5rem; }
.side-card--green { background: var(--green-deep); color: rgba(255,255,255,.88); }
.side-card--green h3 { color: var(--white); }
.side-card h3 { font-size: 1.05rem; }
.side-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.side-card li a { text-decoration: none; font-weight: 500; font-size: .95rem; line-height: 1.4; display: block; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.post-nav a { display: block; text-decoration: none; padding: 1.2rem 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, background .2s; color: var(--green-deep); }
.post-nav a:hover { border-color: var(--green); background: var(--gray); }
.post-nav small { display: block; font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; color: var(--green); margin-bottom: .35rem; }
.post-nav a strong { font-family: var(--font-head); font-size: .98rem; line-height: 1.3; }
.post-nav .next { text-align: right; grid-column: 2; }
.article-cta { margin-top: 2.5rem; padding: 1.75rem; border-radius: var(--radius); background: var(--gray); border-left: 5px solid var(--green); }
.article-cta p { margin-bottom: 1rem; font-weight: 500; }

/* Empresa */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.mvv article { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 2rem 1.75rem; position: relative; overflow: hidden; }
.mvv article::after { content: ''; position: absolute; right: -40px; top: -40px; width: 110px; height: 110px; border-radius: 50%; border: 18px solid var(--gray); }
.mvv h3 { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.mvv p { margin: 0; position: relative; z-index: 1; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--gray); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.gallery .g1 { grid-column: span 7; } .gallery .g2 { grid-column: span 5; }
.gallery .g3 { grid-column: span 4; } .gallery .g4 { grid-column: span 4; } .gallery .g5 { grid-column: span 4; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.timeline li { list-style: none; position: relative; padding: 1.75rem 1.5rem 1.5rem; border-top: 3px solid var(--green); background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.timeline li strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--green); line-height: 1; margin-bottom: .6rem; }
.timeline ul { padding: 0; margin: 0; }

/* Produtos */
.product-block { display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding: 2rem 0; border-top: 1px solid var(--line); align-items: center; scroll-margin-top: 100px; }
.product-block:first-of-type { border-top: 0; }
.product-block__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.product-block__img img { width: 100%; height: 100%; object-fit: cover; }
.product-block:nth-of-type(even) { grid-template-columns: 1fr 340px; }
.product-block:nth-of-type(even) .product-block__img { order: 2; }
.tag-list { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.tag-list li { padding: .4rem .9rem; background: var(--gray); border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--green-deep); }
.cat-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.cat-nav a { text-decoration: none; }

/* Contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-list { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.info-item { display: flex; gap: 1rem; padding: 1.15rem 1.25rem; border-radius: var(--radius); background: var(--gray); align-items: flex-start; }
.info-item__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green); color: var(--white); display: grid; place-items: center; flex: none; }
.info-item__icon svg { width: 22px; height: 22px; }
.info-item small { display: block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: .15rem; }
.info-item a, .info-item span.v { font-weight: 600; color: var(--graphite); text-decoration: none; font-size: 1.02rem; line-height: 1.4; }
.info-item a:hover { color: var(--green); text-decoration: underline; }
.hours td { padding: .25rem 1.5rem .25rem 0; font-size: .98rem; }
.hours td:first-child { font-weight: 600; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--green-deep); }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: .8rem 1rem; border: 1.5px solid #c9d2c8; border-radius: var(--radius-sm); background: var(--white); color: var(--graphite); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(110,173,118,.35); }
.field .err { display: none; color: #a31d1d; font-size: .85rem; margin-top: .3rem; }
.field.invalid input, .field.invalid textarea { border-color: #a31d1d; }
.field.invalid .err { display: block; }
.form-note { font-size: .85rem; color: var(--graphite-70); margin: 1rem 0 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.map { margin-top: 3rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
.map__bar { padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center; background: var(--gray); }

/* CTA final */
.cta-final { position: relative; background: var(--green); color: var(--white); overflow: hidden; isolation: isolate; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.cta-final::before { content: ''; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; left: -160px; bottom: -280px; border-radius: 50%; background: var(--green-deep); }
.cta-final::after { content: ''; position: absolute; z-index: -1; width: 420px; aspect-ratio: 1; right: -120px; top: -180px; border-radius: 50%; border: 50px solid var(--green-soft); opacity: .55; }
.cta-final__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.cta-final h2 { color: var(--white); margin-bottom: .4em; }
.cta-final p { color: rgba(255,255,255,.9); max-width: 56ch; margin: 0; }
.cta-final .btn-row { justify-content: flex-end; }

/* Rodapé */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,.82); padding: 4.5rem 0 0; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-soft); margin-bottom: 1.2rem; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .96rem; }
.footer-brand img { height: 64px; width: auto; margin: 0 0 1.1rem -4px; }
.footer-brand p { font-size: .95rem; max-width: 34ch; }
.footer-social { display: flex; gap: .4rem; margin-top: 1rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); display: grid; place-items: center; }
.footer-social a:hover { background: var(--green); text-decoration: none; }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 1.4rem 0; font-size: .87rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; }
.footer-bottom span a { text-decoration: underline; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: var(--white); }
.wa-float svg { width: 30px; height: 30px; }

/* Linhas técnicas / tubulação (decorativo) */
.tech-lines path { fill: none; stroke: var(--green-soft); stroke-width: 1.2; stroke-dasharray: 4 7; }
.tech-lines circle { fill: none; stroke: var(--green-soft); stroke-width: 1.2; }

/* Animações sutis */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsivo */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .modules { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-cta { display: none; }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--green-deep); padding: 1rem 1.25rem 1.75rem; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; box-shadow: 0 20px 30px -18px rgba(0,0,0,.6); max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 1rem .5rem; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
  .main-nav a::after { display: none; }
  .main-nav .nav-extra { display: flex; gap: .5rem; margin-top: 1.25rem; }
  .about, .contact-grid, .article-layout, .cta-final__inner { grid-template-columns: 1fr; }
  .cta-final .btn-row { justify-content: flex-start; }
  .sidebar { position: static; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .diff-grid, .mvv, .timeline { grid-template-columns: 1fr 1fr; }
  .product-block, .product-block:nth-of-type(even) { grid-template-columns: 1fr; }
  .product-block:nth-of-type(even) .product-block__img { order: 0; }
  .product-block__img { aspect-ratio: 16/10; max-width: 560px; }
  .hero__badge { display: none; }
  .hero__curve--b { opacity: .5; }
}
@media (min-width: 921px) { .main-nav .nav-extra { display: none; } }
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cat-grid, .post-grid, .diff-grid, .mvv, .timeline, .modules { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr 1fr; }
  .gallery .g1, .gallery .g2, .gallery .g3, .gallery .g4, .gallery .g5 { grid-column: span 12; }
  .footer-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: auto; text-align: left; }
  .header-actions .social-link { display: none; }
  .hero__shade { background: linear-gradient(180deg, rgba(13,64,39,.92) 0%, rgba(13,64,39,.85) 60%, rgba(13,64,39,.7) 100%); }
  .hero__content { padding-bottom: 4.5rem; }
  .about__media { padding: 0 0 1.5rem 1.25rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .stat { padding: 1.25rem 1rem; }
  .search { max-width: none; margin-left: 0; flex-basis: 100%; }
}
