/* IMASO — estilos do site (PHP nativo). Identidade: verde-petróleo da marca, grafite industrial
   e o corte em diagonal das letras do logotipo, repetido nos cantos dos cartões e das fotos. */

@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
    --teal: #009c97;
    --teal-dark: #007f7b;
    --teal-ink: #06605d;
    --teal-deep: #0b3b3a;
    --teal-soft: #e1f4f3;
    --teal-glow: #3fd1cb;
    --ink: #172423;
    --text: #3b4948;
    --muted: #5f6d6c;
    --line: #e2e8e8;
    --gray: #eef2f3;
    --soft: #f6f8f8;
    --night: #0e1716;
    --night-2: #152221;
    --wa: #25d366;
    --radius: 14px;
    --cut: 18px;
    --container: 1180px;
    --header: 84px;
    --f-head: "Inter Tight", "Inter", system-ui, sans-serif;
    --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-btn: "Montserrat", "Inter", system-ui, sans-serif;
    --f-prose: "Lato", "Inter", system-ui, sans-serif;
    --shadow: 0 24px 50px -28px rgba(6, 60, 58, .35);
    --shadow-lg: 0 40px 80px -40px rgba(6, 40, 38, .45);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; font-family: var(--f-body); font-size: 15px; line-height: 1.8; color: var(--text); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; color: var(--ink); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 40px, 820px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.cut { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }

/* Selos */
.line-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-btn); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); line-height: 1.3; }
.line-tag .icon { font-size: 13px; color: var(--teal); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 30px; border-radius: 12px; border: 1.5px solid transparent; font-family: var(--f-btn); font-size: 15px; font-weight: 600; letter-spacing: -.2px; line-height: 1; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn .icon { font-size: 1.1em; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 12px 18px; font-size: 13.5px; border-radius: 10px; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 12px 28px -14px rgba(0, 156, 151, .8); }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--outline { border-color: var(--teal); color: var(--teal-ink); background: transparent; }
.btn--outline:hover { background: var(--teal); color: #fff; }
.btn--outline-light { border-color: rgba(255, 255, 255, .8); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--teal-dark); }
.btn--glass { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost .icon { color: #1fae55; }
.btn--ghost:hover { border-color: var(--wa); color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1ebe5a; color: #fff; box-shadow: 0 12px 30px -12px rgba(37, 211, 102, .7); }
.btn--block { width: 100%; }
.btn--header { padding: 15px 22px; font-size: 14px; }

/* Cabeçalho fixo: transparente sobre a foto e escuro ao rolar */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; color: #fff; transition: background-color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(12, 20, 19, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8); }
.topbar { border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 13px; overflow: hidden; max-height: 44px; transition: max-height .3s, opacity .3s; }
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; border-bottom-color: transparent; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.topbar ul { list-style: none; display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; }
.topbar a, .topbar li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .82); }
.topbar .icon { color: var(--teal-glow); font-size: 14px; }
.topbar a:hover { color: #fff; }
.topbar__social a .icon { color: rgba(255, 255, 255, .8); font-size: 15px; }
.topbar__social a:hover .icon { color: #fff; }
.site-header__inner { position: relative; width: min(100% - 40px, var(--container)); margin-inline: auto; display: flex; align-items: center; gap: 28px; height: var(--header); }
.site-header__logo { color: #eef0ef; width: 140px; flex: none; }
.site-header__logo .logo { width: 140px; height: auto; }
.site-nav { display: flex; align-items: center; align-self: stretch; flex: 1; gap: 20px; }
.site-nav__list { list-style: none; display: flex; justify-content: center; align-items: stretch; align-self: stretch; gap: 2px; margin: 0 auto; padding: 0; }
/* O item ocupa toda a altura do cabeçalho: o mouse desce do link ao painel sem passar por um vão */
.nav-item { display: flex; align-items: center; }
.nav-link { position: relative; display: block; padding: 10px 6px 10px 14px; color: #fff; font-size: 15px; font-weight: 500; line-height: 20px; }
.nav-item:not(.has-panel) .nav-link { padding-right: 14px; }
.nav-link:hover, .nav-link.is-active { color: var(--teal-glow); }
.nav-toggle { display: grid; place-items: center; width: 22px; height: 30px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .8); cursor: pointer; font-size: 18px; transition: transform .25s, color .25s; }
.nav-item.is-open .nav-toggle, .nav-item.is-open > .nav-link { color: var(--teal-glow); }
.nav-item.is-open .nav-toggle { transform: rotate(180deg); }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 22px; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle__close { display: none; }

/* Painéis do menu */
.mega { display: none; position: absolute; left: 0; right: 0; top: calc(100% - 4px); grid-template-columns: minmax(0, 1fr) 290px; background: #fff; color: var(--text); border-radius: 22px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .55); overflow: hidden; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
@media (min-width: 1024px) {
    /* Sem JS abre no hover; com JS o site.js abre e fecha com um pequeno atraso (não some ao descer o mouse) */
    html:not(.js) .nav-item.has-panel:hover > .mega, .nav-item.is-open > .mega { display: grid; animation: painel .22s var(--ease) both; }
}
@keyframes painel { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mega__main { padding: 30px 32px 32px; }
.mega__eyebrow { font-family: var(--f-btn); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); margin: 0 0 6px; line-height: 1.3; }
.mega__title { font-family: var(--f-head); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; line-height: 1.3; margin: 0 0 22px; }
.mega__grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; padding: 0; }
.mega__item { position: relative; display: grid; grid-template-columns: 44px 1fr 18px; gap: 14px; align-items: center; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.mega__item:hover { border-color: rgba(0, 156, 151, .5); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.mega__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); font-size: 19px; }
.mega__text { display: grid; gap: 2px; line-height: 1.35; }
.mega__text strong { font-family: var(--f-head); font-size: 15px; font-weight: 600; }
.mega__text span { font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega__arrow { color: var(--ink); font-size: 18px; transition: transform .2s, color .2s; }
.mega__item:hover .mega__arrow { color: var(--teal); transform: translate(2px, -2px); }
.mega__feature { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--soft); border-left: 1px solid var(--line); }
.mega__media { display: block; border-radius: 14px; overflow: hidden; background: #fff; margin-bottom: 10px; }
.mega__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mega__feature-title { font-family: var(--f-head); font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mega__feature-text { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.mega__feature-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--teal-ink); }
.mega__feature-link .icon { font-size: 10px; }

/* Topo da página inicial */
.hero { position: relative; min-height: min(100vh, 920px); min-height: min(100svh, 920px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--night); }
.hero__media, .hero__bg, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg, .hero__video { object-fit: cover; }
.hero__bg { animation: lento 22s ease-out both; }
.hero__video { opacity: 0; transition: opacity 1.2s; }
.hero__video.is-playing { opacity: 1; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 17, .86) 0%, rgba(10, 18, 17, .55) 55%, rgba(10, 18, 17, .25) 100%), linear-gradient(0deg, rgba(10, 18, 17, .6), transparent 40%); }
.hero__inner { position: relative; padding: 190px 0 70px; }
.hero__title { color: #fff; font-size: clamp(44px, 6.2vw, 82px); line-height: 1.06; letter-spacing: -.02em; max-width: 720px; margin-bottom: 24px; }
.hero__lead { font-size: 19px; line-height: 1.5; margin-bottom: 34px; color: rgba(255, 255, 255, .88); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, max-content); gap: 0; margin: 70px 0 0; padding: 0; }
.hero__stats > div { padding: 18px 44px 4px 0; margin-right: 44px; border-right: 1px solid rgba(255, 255, 255, .16); }
.hero__stats > div:last-child { border: 0; margin: 0; }
.hero__stats dt { font-family: var(--f-head); font-size: 38px; font-weight: 600; letter-spacing: -.02em; line-height: 1; color: #fff; }
.hero__stats dd { margin: 8px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .7); }

/* Marcas dos clientes, logo abaixo do topo */
.brands { background: #fff; border-bottom: 1px solid var(--line); }
.brands__inner { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 30px; align-items: center; padding: 26px 0; }
.brands__label { margin: 0; font-family: var(--f-head); font-size: 17px; line-height: 1.35; color: var(--muted); padding-right: 20px; border-right: 1px solid var(--line); }
.brands__label strong { color: var(--ink); }
.brands__track { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands__list { display: flex; align-items: center; gap: 46px; padding-right: 46px; margin: 0; list-style: none; flex: none; animation: marquee 55s linear infinite; }
.brands__list img { width: 92px; height: 92px; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s; }
.brands__list img:hover { filter: none; opacity: 1; }
.brands__track:hover .brands__list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Topo das páginas internas */
.page-hero { position: relative; min-height: 470px; display: flex; align-items: flex-end; overflow: hidden; border-radius: 0 0 40px 40px; background: var(--night); color: #fff; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: lento 22s ease-out both; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 17, .92) 0%, rgba(10, 18, 17, .72) 60%, rgba(10, 18, 17, .5) 100%); }
.page-hero::before { content: ""; position: absolute; z-index: 1; right: -40px; bottom: -30px; width: 360px; height: 190px; background: url("../img/pattern.svg") right bottom / contain no-repeat; opacity: .35; pointer-events: none; }
.page-hero__inner { position: relative; z-index: 2; padding: 190px 0 80px; }
.page-hero__eyebrow { margin: 0 0 14px; font-family: var(--f-btn); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-glow); line-height: 1.4; }
.page-hero__trail { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 22px; font-size: 13.5px; color: rgba(255, 255, 255, .6); line-height: 1.4; }
.page-hero__trail a { color: rgba(255, 255, 255, .78); }
.page-hero__trail a:hover { color: #fff; }
.page-hero__trail [aria-current] { color: var(--teal-glow); }
.page-hero__title { font-family: var(--f-btn); font-weight: 700; color: #fff; font-size: clamp(40px, 5.8vw, 76px); line-height: 1.08; margin: 0; letter-spacing: -.02em; max-width: 920px; }
.page-hero__lead { margin: 22px 0 0; max-width: 640px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.page-hero--product .page-hero__title { font-size: clamp(34px, 4.6vw, 62px); }
@keyframes lento { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Seções */
.section { padding: 110px 0; }
.section--tight { padding: 30px 0 90px; }
.section--gray { background: var(--gray); }
.section--soft { background: var(--soft); }
.section--grid { background-color: var(--soft); background-image: linear-gradient(rgba(0, 156, 151, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 156, 151, .055) 1px, transparent 1px); background-size: 48px 48px; }
.section-head { margin-bottom: 50px; }
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head--center .section-title { margin-inline: auto; }
.section-head--narrow .section-title { max-width: 420px; }
.section-head--brand .section-title { color: var(--teal); }
.eyebrow { font-family: var(--f-btn); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; line-height: 1.4; color: var(--teal-ink); text-transform: uppercase; margin: 0 0 14px; }
.eyebrow--light { color: #d4f6f4; }
.section-title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15; margin: 0 0 18px; }
.section-title--xl { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.2; }
.section-title--brand { color: var(--teal); }
.section-title--sm { font-size: 26px; margin-bottom: 4px; }
.section-cta { text-align: center; margin: 54px 0 0; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.intro-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 80px; align-items: end; margin-bottom: 54px; }
.intro-split .section-title { margin: 0; max-width: 560px; }
.intro-split > p { margin: 0 0 6px; font-size: 16.5px; line-height: 1.7; }

/* Faixa verde "Sobre nós" */
.about-band { position: relative; overflow: hidden; background: var(--teal); color: #fff; padding: 130px 0 120px; }
.about-band::after { content: ""; position: absolute; right: -60px; top: -40px; width: 420px; height: 220px; background: url("../img/pattern.svg") right top / contain no-repeat; filter: brightness(0) invert(1); opacity: .12; pointer-events: none; }
.about-band__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px 120px; align-items: start; }
.about-band__title { color: #fff; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.3; margin-bottom: 44px; }
.about-band__text { color: rgba(255, 255, 255, .92); font-size: 16px; }
.wave { width: 156px; color: #fff; margin-bottom: 28px; }

/* Cartões de serviço */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { position: relative; overflow: hidden; background: #fff; color: var(--text); padding: 44px 36px 40px; border: 1px solid var(--line); border-radius: 22px 22px 22px 4px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.service-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card p { margin: 0; line-height: 1.85; }
.service-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 16px; background: var(--teal-soft); color: var(--teal); font-size: 26px; margin-bottom: 26px; }
.service-card__title { font-size: 23px; line-height: 1.3; margin-bottom: 12px; }
.service-card--light { background: var(--teal); color: rgba(255, 255, 255, .92); border-color: var(--teal); }
.service-card--light .service-card__title { color: #fff; }
.service-card--light .service-card__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.service-card--light .service-card--light::after { background: #fff; }

/* Linhas de produtos */
.lines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.line-card { position: relative; display: flex; flex-direction: column; padding: 12px 12px 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px; color: var(--text); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.line-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(0, 156, 151, .35); color: var(--text); }
.line-card__media { display: block; aspect-ratio: 4 / 3; border-radius: 14px; background: #f1f5f5; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.line-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.line-card:hover .line-card__media img { transform: scale(1.07); }
.line-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin: -26px 0 0 14px; position: relative; border-radius: 14px; background: var(--teal); color: #fff; font-size: 20px; box-shadow: 0 10px 22px -10px rgba(0, 156, 151, .9); }
.line-card__title { font-family: var(--f-head); font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); margin: 16px 12px 8px; }
.line-card__text { display: block; font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0 12px 18px; }
.line-card__foot { margin: auto 12px 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-family: var(--f-btn); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); }
.line-card__foot .icon { width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); transition: background-color .25s, color .25s, transform .25s; }
.line-card:hover .line-card__foot .icon { background: var(--teal); color: #fff; transform: rotate(45deg); }
.line-card--cta { padding: 30px 24px 24px; background: radial-gradient(circle at 80% 0%, rgba(63, 209, 203, .35), transparent 55%), var(--night); border-color: var(--night); color: rgba(255, 255, 255, .78); }
.line-card--cta:hover { color: rgba(255, 255, 255, .78); border-color: var(--teal); }
.line-card--cta .line-card__icon { margin: 0 0 6px; background: var(--wa); box-shadow: none; }
.line-card--cta .line-card__title { color: #fff; margin: 16px 0 10px; font-size: 23px; }
.line-card--cta .line-card__text { color: rgba(255, 255, 255, .7); margin: 0 0 18px; }
.line-card--cta .line-card__foot { margin: auto 0 0; border-color: rgba(255, 255, 255, .12); color: var(--teal-glow); }
.line-card--cta .line-card__foot .icon { background: rgba(255, 255, 255, .1); color: #fff; }

/* Faixa das linhas (fixa ao rolar) */
.subnav { position: sticky; top: var(--header); z-index: 30; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__item { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid transparent; border-radius: 10px; color: var(--text); font-size: 14px; font-weight: 500; white-space: nowrap; line-height: 1.3; transition: background-color .2s, color .2s, border-color .2s; }
.subnav__item .icon { color: var(--teal); font-size: 14px; }
.subnav__item:hover { background: var(--soft); color: var(--ink); }
.subnav__item.is-active { background: var(--teal-soft); border-color: rgba(0, 156, 151, .3); color: var(--teal-ink); font-weight: 600; }

/* Seções de cada linha e fichas de produto */
.line-section:nth-of-type(odd) { background: var(--soft); }
.line-section__head { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-bottom: 40px; }
.line-section__head .section-title { font-size: clamp(28px, 3vw, 40px); margin: 0 0 6px; }
.line-section__head .muted { margin: 0; max-width: 640px; }
.line-section__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 18px; background: var(--teal); color: #fff; font-size: 28px; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.product-rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product-row { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; padding: 18px 26px 18px 18px; background: #fff; border: 1px solid var(--line); border-radius: 22px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.product-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0, 156, 151, .3); }
.product-row__media { display: block; align-self: stretch; min-height: 210px; border-radius: 16px; background: #f1f5f5; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%); }
.product-row__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.product-row:hover .product-row__media img { transform: scale(1.06); }
.product-row__body { display: flex; flex-direction: column; padding: 10px 0 6px; }
.product-row__title { font-size: 23px; line-height: 1.2; margin: 12px 0 10px; }
.product-row__title a { color: var(--ink); }
.product-row__title a:hover { color: var(--teal); }
.product-row__text { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0 0 22px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.product-row__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

/* Cartões compactos de produto */
.product-grid { display: grid; gap: 20px; }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }
.product-grid--related { grid-template-columns: repeat(2, 1fr); }
.product-card { position: relative; display: flex; flex-direction: column; padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(0, 156, 151, .35); }
.product-card__media { display: block; width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #f1f5f5; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%); }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__noimg { display: grid; place-items: center; height: 100%; color: #cfd8d8; font-size: 48px; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 10px 8px; }
.product-card__title { font-size: 17px; line-height: 1.3; margin: 10px 0 16px; }
.product-card__title a { color: var(--ink); }
.product-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.product-card:hover .product-card__title a { color: var(--teal-ink); }
.product-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-btn); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); }
.product-card__more .icon { font-size: 15px; transition: transform .25s; }
.product-card:hover .product-card__more .icon { transform: translate(2px, -2px); }

.segments { margin: 50px 0 0; text-align: center; font-size: 13px; color: var(--muted); line-height: 2.6; }
.segments a { display: inline-block; margin: 0 4px; padding: 3px 14px; border: 1px solid var(--line); border-radius: 30px; background: #fff; color: var(--ink); line-height: 1.8; }
.segments a:hover, .segments a[aria-current] { border-color: var(--teal); color: var(--teal-ink); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; line-height: 1.6; color: #888; margin: -40px 0 40px; }
.breadcrumb a { color: #666; }

/* Página de produto */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.product__aside { position: sticky; top: calc(var(--header) + 20px); display: grid; gap: 18px; }
.product__card { border: 1px solid var(--line); border-radius: 24px; padding: 18px; background: #fff; box-shadow: var(--shadow); }
.product__image { display: block; border-radius: 16px; overflow: hidden; border: 0; background: #f1f5f5; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%); }
.product__image img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 26px; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.product__image:hover img { transform: scale(1.04); }
.product__meta { display: grid; gap: 14px; padding: 20px 8px 6px; }
.product__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 13px; line-height: 1.4; }
.product__tags span { color: var(--muted); margin-right: 4px; }
.product__tags a { padding: 4px 12px; border: 1px solid var(--line); border-radius: 30px; color: var(--ink); }
.product__tags a:hover { border-color: var(--teal); color: var(--teal-ink); }
.product__quote { position: relative; overflow: hidden; background: radial-gradient(circle at 90% 0%, rgba(63, 209, 203, .3), transparent 50%), var(--night); color: rgba(255, 255, 255, .78); border-radius: 22px 22px 22px 4px; padding: 26px 26px 22px; text-align: center; }
.product__quote p { margin: 0 0 16px; line-height: 1.6; }
.product__phone { display: inline-block; margin-top: 14px; font-family: var(--f-head); font-size: 22px; font-weight: 600; color: #fff; letter-spacing: .3px; }
.product__phone:hover { color: var(--teal-glow); }
.product__subtitle { font-size: 26px; margin: 6px 0 20px; }
.related { margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--line); }
.related__title { font-size: 22px; margin-bottom: 22px; }

/* Texto dos produtos e artigos */
.prose { font-family: var(--f-prose); font-size: 16.5px; line-height: 1.9; color: #4a5655; }
.prose h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 20px; margin: 1.4em 0 .5em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .25em; }
.prose li::marker { color: var(--teal); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose tr:nth-child(odd) td { background: var(--soft); }
.prose details { border: 1px solid var(--line); border-radius: 14px; margin: 0 0 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.prose details[open] { border-color: rgba(0, 156, 151, .35); box-shadow: var(--shadow); }
.prose summary { cursor: pointer; padding: 15px 20px; font-family: var(--f-btn); font-size: 13.5px; font-weight: 600; color: var(--teal-ink); letter-spacing: .08em; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-soft); font-size: 18px; line-height: 1; transition: transform .25s; }
.prose details[open] summary::after { transform: rotate(45deg); }
.prose details > :not(summary) { margin: 0 20px 20px; }
.prose figure { margin: 0 0 1.2em; }
.prose > .zoom, .prose figure .zoom { max-width: 420px; }
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin: 0 0 1.2em; }
.zoom { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in; }
.zoom img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .4s var(--ease); }
.zoom:hover img { transform: scale(1.06); }
.product__image.zoom { border: 0; border-radius: 16px; }
.video-facade { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: radial-gradient(circle at 30% 20%, #145c5a, var(--night) 70%); color: #fff; font-family: var(--f-btn); font-size: 15px; font-weight: 600; cursor: pointer; padding: 20px; text-align: center; }
.video-facade::before { content: ""; width: 68px; height: 48px; border-radius: 14px; background: #e62117 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 26px no-repeat; flex: none; transition: transform .25s; }
.video-facade:hover::before { transform: scale(1.1); }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }
.prose--legal h2, .prose--legal h3 { font-size: 22px; }
.prose--article { font-size: 17.5px; }
.article-date { font-size: 14px; color: var(--muted); margin: 0 0 30px; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.posts--2 { grid-template-columns: repeat(2, 1fr); }
.post-card { display: flex; flex-direction: column; padding: 34px 30px; border: 1px solid var(--line); border-radius: 22px 22px 22px 4px; background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__date { font-family: var(--f-btn); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-ink); margin: 0 0 12px; line-height: 1.4; }
.post-card__title { font-size: 21px; line-height: 1.3; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--teal); }
.post-card .product-card__more { align-self: flex-start; }

/* Sobre e Serviços */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 80px; align-items: center; }
.split__media { margin: 0; }
.split__media img { width: 100%; box-shadow: var(--shadow-lg); }
.shape-tr img, img.shape-tr { border-radius: 30px 90px 30px 90px; }
.shape-bl img { border-radius: 90px 30px 90px 30px; }
.split__media--pattern { position: relative; padding: 40px 40px 0 0; }
.split__media--pattern img.shape-tr { position: relative; z-index: 1; }
.split__media .split__pattern { position: absolute; z-index: 0; right: 0; top: 0; width: 150px; height: 150px; object-fit: cover; object-position: right top; box-shadow: none; border-radius: 0 20px 0 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 36px 32px; border: 1px solid var(--line); border-radius: 22px 22px 22px 4px; background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.value img { width: auto; height: 72px; margin-bottom: 24px; }
.value__title { font-size: 22px; line-height: 1.3; }
.value p { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { display: flex; align-items: center; gap: 22px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.stat img { width: auto; height: 70px; }
.stat p { margin: 0; line-height: 1.3; }
.stat__number { display: block; font-family: var(--f-head); font-size: 44px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.why__icon img, .value img, .stat img { filter: hue-rotate(135deg); }

/* Por que escolher a IMASO */
.why__head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 80px; align-items: end; margin-bottom: 60px; }
.why__head .section-title { margin: 0; }
.why__head .muted { margin: 0; font-size: 16px; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 100px; align-items: start; }
.frame { position: relative; margin: 0; padding: 0 0 30px 30px; }
.frame::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-left: 1px solid #b9c4c4; border-bottom: 1px solid #b9c4c4; border-radius: 0 0 0 30px; }
.frame img { position: relative; border-radius: 30px 0 30px 0; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 9 / 10; object-fit: cover; }
.why__list { display: grid; gap: 30px; }
.why__item { display: grid; grid-template-columns: 90px 1fr; gap: 26px; }
.why__icon img { width: 82px; height: auto; }
.why__title { color: var(--teal-ink); font-size: 23px; margin: 6px 0 10px; }
.why__item p { margin: 0; line-height: 1.85; }

/* Fechamento: Fale Conosco sobre a foto, com o cartão de vidro do WhatsApp */
.finale { position: relative; overflow: hidden; color: #fff; background: var(--teal-deep); }
.finale__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.finale.is-visible .finale__bg { transform: scale(1); }
.finale::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, rgba(0, 123, 119, .95) 0%, rgba(0, 104, 100, .84) 45%, rgba(11, 59, 58, .72) 100%); }
.finale__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr minmax(0, 470px); gap: 60px; align-items: center; padding: 120px 0; }
.finale__title { color: #fff; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.15; max-width: 540px; }
.finale__text p { max-width: 460px; line-height: 1.85; color: rgba(255, 255, 255, .9); }
.finale__text .btn { margin-top: 18px; }

.wa-card { padding: 40px 40px 34px; border-radius: 22px 22px 22px 4px; background: #fff; color: var(--muted); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.wa-card__eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--f-btn); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-ink); margin: 0 0 14px; line-height: 1.3; }
.wa-card__eyebrow .icon { font-size: 18px; }
.wa-card__title { font-size: 32px; margin-bottom: 10px; }
.wa-card__text { line-height: 1.7; margin-bottom: 22px; }
.wa-card__number { display: block; font-family: var(--f-head); font-size: clamp(30px, 3vw, 40px); font-weight: 600; color: var(--ink); letter-spacing: -.01em; line-height: 1.1; margin-bottom: 22px; }
.wa-card__number:hover { color: var(--teal); }
.wa-card__meta { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; margin: 18px 0 0; line-height: 1.4; }
.wa-card--glass { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); color: #e8f6f5; -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.wa-card--glass .wa-card__eyebrow { color: #a9f0eb; }
.wa-card--glass .wa-card__title, .wa-card--glass .wa-card__number { color: #fff; }
.wa-card--glass .wa-card__number:hover { color: #a9f0eb; }
.wa-card--brand { background: radial-gradient(circle at 90% 0%, rgba(63, 209, 203, .35), transparent 50%), var(--night); color: rgba(255, 255, 255, .78); }
.wa-card--brand .wa-card__eyebrow { color: var(--teal-glow); }
.wa-card--brand .wa-card__title, .wa-card--brand .wa-card__number { color: #fff; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 60px 80px; align-items: center; }
.contact__list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 20px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.contact__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; background: var(--teal); color: #fff; font-size: 24px; flex: none; }
.contact__label { display: block; font-family: var(--f-btn); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); line-height: 1.4; }
.contact__value { display: block; font-family: var(--f-head); font-size: 19px; font-weight: 500; color: var(--ink); line-height: 1.45; }
a.contact__value:hover { color: var(--teal); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.3); }
@media (max-width: 767px) { .map iframe { height: 300px; } }

/* Política */
.legal-box { padding: 28px 32px; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; margin: 0 0 30px; background: var(--soft); }
.legal-box h2 { margin-top: 0; }

/* Rodapé */
.site-footer { position: relative; overflow: hidden; background: var(--night); color: #a7b4b3; font-size: 15px; line-height: 1.7; }
.site-footer__mark { position: absolute; right: -6%; bottom: 80px; width: 62%; color: #fff; opacity: .03; pointer-events: none; }
.site-footer .container { position: relative; }
.contact-strip { position: relative; border-bottom: 1px solid rgba(255, 255, 255, .08); background: var(--night-2); }
.contact-strip__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; padding: 0; }
.contact-strip__list li { border-right: 1px solid rgba(255, 255, 255, .08); }
.contact-strip__list li:first-child { border-left: 1px solid rgba(255, 255, 255, .08); }
.contact-strip__list a, .contact-strip__plain { display: flex; align-items: center; gap: 14px; padding: 24px 22px; color: #fff; line-height: 1.35; transition: background-color .25s; }
.contact-strip__list a:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.contact-strip__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 156, 151, .18); color: var(--teal-glow); font-size: 18px; flex: none; }
.contact-strip small { display: block; font-size: 12.5px; color: #8fa09f; }
.contact-strip strong { font-weight: 600; font-size: 15px; word-break: break-word; }
.site-footer__top { display: grid; grid-template-columns: 220px 1fr; gap: 30px 80px; align-items: center; padding: 80px 0 56px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-footer__logo { color: var(--teal); display: block; width: 190px; }
.site-footer__logo .logo { width: 190px; height: auto; }
.site-footer__quote { margin: 0; font-family: var(--f-head); font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; letter-spacing: -.015em; line-height: 1.4; color: #e9f1f0; max-width: 760px; }
.site-footer__quote strong { color: var(--teal-glow); font-weight: 600; }
.site-footer__quote em { font-style: normal; color: var(--teal-glow); }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr 1.3fr; gap: 40px; padding: 56px 0; }
.site-footer__title { font-family: var(--f-btn); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 20px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer__list a { color: #a7b4b3; transition: color .2s; }
.site-footer__list a:hover { color: var(--teal-glow); }
.site-footer__address { margin: 20px 0 0; font-size: 14px; color: #8fa09f; }
.site-footer__social { list-style: none; display: flex; gap: 10px; margin: 20px 0 0; padding: 0; }
.site-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 16px; transition: background-color .25s, border-color .25s, transform .25s; }
.site-footer__social a:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-3px); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 30px; padding: 24px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 auto 0 0; padding: 0; }
.site-footer__legal a { color: #a7b4b3; }
.site-footer__legal a:hover { color: var(--teal-glow); }
.site-footer__fgx { display: inline-flex; align-items: center; gap: 12px; color: #8fa09f; font-size: 13px; opacity: .85; transition: opacity .25s; }
.site-footer__fgx img { width: auto; height: 17px; }
.site-footer__fgx:hover { opacity: 1; color: #fff; }

/* WhatsApp flutuante */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 35; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; font-size: 32px; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); transition: transform .25s var(--ease); }
.whatsapp-float::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; background: rgba(37, 211, 102, .25); animation: pulso 2.6s ease-out infinite; z-index: -1; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
@keyframes pulso { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* Imagem ampliada */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 16, 16, .86); }
.lightbox img { max-height: 88vh; width: auto; margin: auto; border-radius: 14px; background: #fff; }
.lightbox__close { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 18px; display: grid; place-items: center; cursor: pointer; }

/* Entrada ao rolar a página (só com JS ligado) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Telas médias */
@media (max-width: 1180px) {
    .site-nav__list .nav-link { padding-left: 10px; font-size: 14.5px; }
    .topbar__hours { display: none !important; }
    .lines { grid-template-columns: repeat(3, 1fr); }
    .product-grid--4 { grid-template-columns: repeat(3, 1fr); }
    .product-row { grid-template-columns: 170px minmax(0, 1fr); gap: 20px; }
    .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet e celular: menu em painel com submenus em sanfona */
@media (max-width: 1023px) {
    :root { --header: 72px; }
    .topbar { display: none; }
    .menu-toggle { display: inline-flex; }
    .site-header.is-open { background: rgba(12, 20, 19, .98); }
    .site-nav { position: fixed; top: var(--header); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 10px 20px 28px; max-height: calc(100vh - var(--header)); max-height: calc(100dvh - var(--header)); overflow-y: auto; background: rgba(12, 20, 19, .98); border-top: 1px solid rgba(255, 255, 255, .08); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
    .site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: none; }
    .site-header.is-open .menu-toggle__open { display: none; }
    .site-header.is-open .menu-toggle__close { display: block; }
    .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; width: 100%; }
    .site-nav, .site-nav__list { align-self: auto; }
    .nav-item { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .07); }
    .site-nav__list .nav-link, .site-nav__list .nav-item:not(.has-panel) .nav-link { flex: 1; padding: 15px 4px; font-size: 17px; }
    .site-header.is-open { box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .45); }
    html.menu-aberto { overflow: hidden; }
    .nav-toggle { width: 44px; height: 44px; font-size: 22px; }
    .mega { position: static; grid-template-columns: 1fr; width: 100%; border-radius: 14px; margin: 0 0 14px; background: rgba(255, 255, 255, .04); box-shadow: none; }
    .nav-item.is-open > .mega { display: grid; }
    .mega::before, .mega__feature, .mega__title { display: none; }
    .mega__main { padding: 14px; }
    .mega__eyebrow { color: var(--teal-glow); margin-bottom: 10px; }
    .mega__grid, .mega__grid--wide { grid-template-columns: 1fr; gap: 8px; }
    .mega__item { grid-template-columns: 36px 1fr 16px; padding: 10px 12px; border-color: rgba(255, 255, 255, .08); color: #fff; }
    .mega__item:hover { color: #fff; box-shadow: none; }
    .mega__icon { width: 36px; height: 36px; font-size: 16px; background: rgba(0, 156, 151, .2); color: var(--teal-glow); }
    .mega__text strong { color: #fff; font-size: 14.5px; }
    .mega__text span { color: rgba(255, 255, 255, .6); -webkit-line-clamp: 1; }
    .mega__arrow { color: rgba(255, 255, 255, .6); }
    .btn--header { width: 100%; padding: 16px; }
    .about-band__grid, .why__head, .why__grid, .split, .contact, .finale__inner, .product, .intro-split { grid-template-columns: 1fr; }
    .intro-split { gap: 14px; }
    .split > .split__media.shape-bl { order: 1; }
    .product__aside { position: static; }
    .services, .values, .posts { grid-template-columns: 1fr 1fr; }
    .services > :last-child { grid-column: 1 / -1; }
    .product-rows { grid-template-columns: 1fr; }
    .brands__inner { grid-template-columns: 1fr; gap: 14px; }
    .brands__label { border: 0; padding: 0; text-align: center; font-size: 15px; }
    .site-footer__top { grid-template-columns: 1fr; }
    .contact-strip__list { grid-template-columns: repeat(2, 1fr); }
    .contact-strip__list li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .contact-strip__list li:first-child { border-left: 0; }
    .hero__stats > div { padding-right: 28px; margin-right: 28px; }
}

/* Celular */
@media (max-width: 767px) {
    .container, .container--narrow { width: min(100% - 32px, var(--container)); }
    .section { padding: 72px 0; }
    .section--tight { padding: 20px 0 64px; }
    .site-header__inner { width: min(100% - 32px, var(--container)); }
    .site-header__logo, .site-header__logo .logo { width: 118px; }
    .nav-link, .nav-item:not(.has-panel) .nav-link { min-height: 48px; }
    .hero__inner { padding: 130px 0 56px; }
    .hero__lead { font-size: 16.5px; }
    .hero__actions .btn { flex: 1 1 auto; }
    .hero__stats { grid-template-columns: repeat(3, 1fr); margin-top: 44px; }
    .hero__stats > div { padding: 14px 10px 0 0; margin: 0; }
    .hero__stats > div + div { padding-left: 12px; }
    .hero__stats dt { font-size: 27px; }
    .hero__stats dd { font-size: 11.5px; line-height: 1.35; }
    .brands__list { gap: 30px; padding-right: 30px; }
    .brands__list img { width: 74px; height: 74px; }
    .page-hero { min-height: 360px; border-radius: 0 0 28px 28px; }
    .page-hero__inner { padding: 120px 0 56px; }
    .page-hero__lead { font-size: 15.5px; }
    .page-hero::before { width: 220px; height: 120px; }
    .about-band { padding: 80px 0; }
    .about-band__title { margin-bottom: 30px; }
    .services, .values, .posts, .posts--2, .stats { grid-template-columns: 1fr; }
    .services > :last-child { grid-column: auto; }
    .service-card { padding: 36px 26px 32px; }
    .lines { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .line-card { padding: 8px 8px 16px; border-radius: 18px; }
    .line-card__icon { width: 40px; height: 40px; font-size: 17px; margin: -22px 0 0 10px; }
    .line-card__title { font-size: 16.5px; margin: 12px 6px 6px; }
    .line-card__text { display: none; }
    .line-card__foot { margin: auto 6px 0; padding-top: 12px; font-size: 11px; }
    .line-card__foot .icon { width: 28px; height: 28px; padding: 7px; }
    .line-card--cta { grid-column: 1 / -1; padding: 22px 20px; }
    .line-card--cta .line-card__text { display: block; }
    .line-section__head { grid-template-columns: 52px 1fr; gap: 16px; }
    .line-section__head .btn { grid-column: 1 / -1; justify-self: start; }
    .line-section__icon { width: 52px; height: 52px; font-size: 22px; }
    /* Ficha compacta no celular: foto pequena ao lado do texto */
    .product-rows { gap: 12px; }
    .product-row { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 10px; border-radius: 18px; }
    .product-row__media { min-height: 0; aspect-ratio: 1; align-self: start; border-radius: 12px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
    .product-row__media img { padding: 8px; }
    .product-row__body { padding: 2px 0 0; }
    .product-row__title { font-size: 16.5px; margin: 6px 0 6px; }
    .product-row__text { font-size: 13px; line-height: 1.5; -webkit-line-clamp: 2; margin: 0 0 12px; }
    .product-row__actions { gap: 8px; }
    .product-row__actions { flex-wrap: nowrap; }
    .product-row__actions .btn { padding: 10px 12px; font-size: 12.5px; }
    /* No celular o botão de orçamento fica só com o ícone (o nome vai no aria-label) */
    .product-row__actions .btn--ghost { font-size: 0; gap: 0; width: 40px; padding: 0; }
    .product-row__actions .btn--ghost .icon { font-size: 19px; }
    .product-grid--4, .product-grid--related { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card { padding: 6px; border-radius: 16px; }
    .product-card__body { padding: 12px 6px 6px; }
    .product-card .line-tag { font-size: 9.5px; letter-spacing: .06em; }
    .product-card__title { font-size: 14.5px; margin: 8px 0 12px; }
    .product-card__more { font-size: 11px; }
    .why__item { grid-template-columns: 70px 1fr; gap: 18px; }
    .why__icon img { width: 66px; }
    .frame { padding: 0 0 20px 20px; }
    .frame img { aspect-ratio: 4 / 3; }
    .finale__inner { padding: 80px 0; gap: 40px; }
    .wa-card { padding: 30px 24px 26px; }
    .wa-card__title { font-size: 26px; }
    .contact__icon { width: 48px; height: 48px; font-size: 20px; }
    .contact__value { font-size: 16.5px; }
    .product__card { padding: 12px; }
    .contact-strip__list { grid-template-columns: 1fr; }
    .contact-strip__list li { border-right: 0; }
    .contact-strip__list a, .contact-strip__plain { padding: 16px 4px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding: 44px 0; }
    .site-footer__top { padding: 56px 0 40px; }
    .site-footer__mark { width: 120%; right: -30%; bottom: 40%; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
    .whatsapp-float { right: 16px; bottom: 16px; width: 56px; height: 56px; font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .finale__bg { transform: none; }
    .brands__track { overflow-x: auto; }
}
