/* Plane Metalúrgica — site novo.
   Paleta e tipografia do Manual de Marca (azul #093C7A, vermelho #CA2A1A só para ação, Inter).
   Conceito: a fachada. Linhas finas como o símbolo da marca, painéis altos como vãos de janela. */

:root {
    --azul: #093c7a;
    --noite: #05234a;
    --creme: #fcfcf9;
    --aluminio: #e4e7ea;
    --vermelho: #ca2a1a;
    --vermelho-h: #a82316;
    --cinza: #6f6f6e;
    --texto: #2e2e2d;
    --texto-2: #5a6469;
    --linha: rgba(9, 60, 122, 0.16);
    --linha-escura: rgba(255, 255, 255, 0.16);
    --raio: 8px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --fonte: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--texto); font-family: var(--fonte); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.modal-open, body.menu-aberto { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--azul); padding: 10px 16px; border-radius: var(--raio); z-index: 3000; font-weight: 600; }
.pular:focus { left: 8px; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.sec { padding-block: clamp(72px, 10vw, 140px); }
.sec--noite { background: var(--noite); color: #fff; }
.sec--azul { background: var(--azul); color: #fff; }
.sec--aluminio { background: var(--aluminio); }

/* Tipografia */
.titulo { font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; color: var(--azul); }
.sec--noite .titulo, .sec--azul .titulo { color: #fff; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--texto-2); max-width: 58ch; }
.sec--noite .lead, .sec--azul .lead { color: rgba(255, 255, 255, 0.78); }
.rotulo { font-size: 0.9rem; font-weight: 600; color: var(--texto-2); }

/* Botões: vermelho = ação, como no manual */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: var(--raio); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.btn--acao { background: var(--vermelho); color: #fff; }
.btn--acao:hover { background: var(--vermelho-h); }
.btn--vazado { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--vazado:hover { background: #fff; color: var(--noite); border-color: #fff; }
.btn--vazado-azul { border-color: var(--azul); color: var(--azul); }
.btn--vazado-azul:hover { background: var(--azul); color: #fff; }
.btn--pequeno { padding: 10px 18px; font-size: 0.95rem; }

/* ---------- Topo ---------- */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 1000; color: #fff; transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.topo__in { width: min(1240px, 100% - 48px); margin-inline: auto; height: 80px; display: flex; align-items: center; gap: 32px; }
.topo__logo { display: block; flex-shrink: 0; }
.topo__logo img { height: 52px; width: auto; filter: brightness(0) invert(1); transition: filter 0.3s; }
.topo__menu { display: flex; gap: 28px; margin-left: auto; font-size: 0.95rem; font-weight: 500; }
.topo__menu a { white-space: nowrap; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.topo__menu a:hover, .topo__menu a.ativo { border-color: currentColor; }
.topo__social { display: flex; gap: 14px; }
.topo__social a { display: flex; opacity: 0.85; }
.topo__social a:hover { opacity: 1; }
.topo__toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.topo__toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform 0.3s var(--ease), opacity 0.3s; }
.topo--solido { background: rgba(252, 252, 249, 0.94); backdrop-filter: blur(12px); color: var(--texto); box-shadow: 0 1px 0 var(--linha); }
.topo--solido .topo__logo img { filter: none; }
.topo--solido .topo__in { height: 68px; }

/* ---------- Hero: a fachada ---------- */
.hero { position: relative; background: var(--noite); color: #fff; padding-top: 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: linear-gradient(100deg, #000 10%, transparent 75%); mask-image: linear-gradient(100deg, #000 10%, transparent 75%); pointer-events: none; }
.hero__grade { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; padding-block: clamp(40px, 6vw, 72px) clamp(48px, 6vw, 72px); min-height: min(86svh, 860px); }
.hero__texto { align-self: center; }
.hero__titulo { font-size: clamp(2.5rem, 5.3vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.hero__sub { margin-top: 28px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, 0.8); max-width: 50ch; }
.hero__acoes { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.fachada { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; height: min(62vh, 590px); min-height: 380px; }
.vao { position: relative; height: 100%; overflow: hidden; background: #0b3a73; border-radius: 3px; animation: abrir 1.1s var(--ease) both; }
.vao:nth-child(1) { height: 100%; animation-delay: 0.1s; }
.vao:nth-child(2) { height: 86%; animation-delay: 0.28s; }
.vao:nth-child(3) { height: 94%; animation-delay: 0.46s; }
.vao img { width: 100%; height: 100%; object-fit: cover; }
.vao figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 12px 12px; background: linear-gradient(to top, rgba(3, 18, 40, 0.88), transparent); font-size: 0.82rem; line-height: 1.3; }
.vao figcaption strong { display: block; font-size: 0.95rem; }
.vao--vazio { background: linear-gradient(160deg, #0d4a94, #062a58); }
@keyframes abrir { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

.fatos { position: relative; border-top: 1px solid var(--linha-escura); }
.fatos__lista { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.fatos__item { padding: 22px 48px 22px 0; margin-right: 48px; border-right: 1px solid var(--linha-escura); }
.fatos__item:last-child { border-right: 0; margin-right: 0; }
.fatos__item dt { font-size: 0.9rem; color: rgba(255, 255, 255, 0.66); }
.fatos__item dd { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; }

/* Hero com vídeo de fundo (substitui os painéis de fachada) */
.hero--video::before { display: none; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__veu { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 35, 74, 0.93) 0%, rgba(5, 35, 74, 0.78) 38%, rgba(5, 35, 74, 0.28) 100%), linear-gradient(to top, var(--noite) 0%, rgba(5, 35, 74, 0) 32%), linear-gradient(to bottom, rgba(5, 35, 74, 0.7) 0%, rgba(5, 35, 74, 0) 22%); }
.hero--video .hero__grade { grid-template-columns: minmax(0, 760px); min-height: min(92svh, 900px); align-items: center; z-index: 1; }
.hero--video .hero__texto { align-self: center; padding-top: 24px; }
.hero--video .fatos { z-index: 1; border-top-color: rgba(255, 255, 255, 0.2); }
.hero__pausa { position: absolute; right: 24px; bottom: 116px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(5, 35, 74, 0.55); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(6px); }
.hero__pausa:hover { background: rgba(255, 255, 255, 0.2); }
.hero__pausa .i-play { display: none; }
.hero__pausa[aria-pressed="true"] .i-pausa { display: none; }
.hero__pausa[aria-pressed="true"] .i-play { display: block; }

/* ---------- Sobre ---------- */
.sobre__grade { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.sobre__texto .lead { margin-top: 28px; }
.sobre__missao { margin-top: 0; align-self: center; padding-left: 24px; border-left: 4px solid var(--vermelho); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; color: var(--azul); max-width: 34ch; line-height: 1.35; }

/* ---------- Produtos ---------- */
.produtos__topo { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.produtos__grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod__img { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--raio); background: var(--aluminio); }
.prod__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.prod:hover .prod__img img { transform: scale(1.05); }
.prod h3 { margin-top: 18px; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; color: var(--azul); }
.prod p { margin-top: 6px; font-size: 1rem; color: var(--texto-2); }

/* ---------- Panorama: obras acumuladas ---------- */
.pan__grade { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.pan__grade .lead { margin-top: 24px; }
.pan__fatos { margin-top: 40px; display: grid; gap: 22px; }
.pan__fatos > div { padding-top: 18px; border-top: 1px solid var(--linha-escura); }
.pan__fatos dt { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; }
.pan__fatos dd { color: rgba(255, 255, 255, 0.72); }
.pan__grafico figcaption { margin-top: 14px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.62); }
.grafico { width: 100%; height: auto; display: block; overflow: visible; }
.grafico__grade { stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; stroke-dasharray: 3 5; }
.grafico__linha { fill: none; stroke: #fff; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.grafico__ponto { fill: var(--noite); stroke: #fff; stroke-width: 3; }
.grafico__eixo { fill: rgba(255, 255, 255, 0.6); font-size: 13px; font-family: var(--fonte); font-variant-numeric: tabular-nums; }
.grafico__valor { fill: #fff; font-size: 17px; font-weight: 700; font-family: var(--fonte); font-variant-numeric: tabular-nums; }

/* ---------- Portfólio ---------- */
.port__topo { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.port__barra { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 32px; }
.filtros { display: flex; flex-wrap: wrap; gap: 10px; }
.filtro { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--linha); background: transparent; color: var(--texto); cursor: pointer; font-weight: 500; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.filtro:hover { border-color: var(--azul); }
.filtro.ativo { background: var(--azul); border-color: var(--azul); color: #fff; }
.filtro__n { font-size: 0.85rem; opacity: 0.7; font-variant-numeric: tabular-nums; }
.port__select { padding: 10px 14px; border-radius: var(--raio); border: 1px solid var(--linha); background: #fff; color: var(--texto); font: inherit; font-size: 0.95rem; margin-left: auto; }

.obras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.obra[hidden] { display: none; }
.obra__card { position: relative; aspect-ratio: 3 / 4; border-radius: var(--raio); overflow: hidden; background: var(--azul); color: #fff; isolation: isolate; }
.obra__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); z-index: -1; }
.obra__card:hover .obra__foto { transform: scale(1.05); }
.obra__card--sem-foto { background: linear-gradient(165deg, #0d4a94 0%, var(--noite) 100%); }
.obra__card--sem-foto::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 28px 28px; }
.obra__ano { position: absolute; top: 14px; left: 16px; font-size: 0.85rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(5, 35, 74, 0.72); backdrop-filter: blur(4px); }
.obra__card--sem-foto .obra__ano { background: none; padding: 0; top: 18px; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; opacity: 0.9; }
.obra__info { position: absolute; inset: auto 0 0 0; padding: 56px 16px 16px; background: linear-gradient(to top, rgba(3, 18, 40, 0.92) 5%, transparent); }
.obra__nome { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.obra__meta { margin-top: 4px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.8); line-height: 1.35; }
.obra__abrir { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; font-size: 0; color: transparent; }
.obra__abrir:focus-visible { outline-offset: -4px; }
.port__vazio { text-align: center; margin: 40px 0; color: var(--texto-2); }
.port__rodape { margin-top: 40px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; color: var(--texto-2); font-size: 0.95rem; }

/* ---------- Mapa ---------- */
.mapa__topo { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.mapa__moldura { border-radius: var(--raio); overflow: hidden; border: 1px solid var(--linha-escura); height: clamp(380px, 62vh, 620px); background: #0b3a73; }
.mapa__moldura iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Clientes ---------- */
.clientes__topo { margin-bottom: 48px; text-align: center; }
.clientes__topo .titulo { max-width: 22ch; margin-inline: auto; }
.trilhos { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.trilho { display: flex; width: fit-content; animation: rolar 38s linear infinite; }
.trilho + .trilho { margin-top: 20px; }
.trilho--volta { animation-direction: reverse; }
.logo { width: 160px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.logo img { max-width: 130px; max-height: 80px; width: auto; height: auto; opacity: 0.72; mix-blend-mode: multiply; }
@keyframes rolar { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Dúvidas ---------- */
.faq__grade { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq__lista details { border-top: 1px solid var(--linha); }
.faq__lista details:last-child { border-bottom: 1px solid var(--linha); }
.faq__lista summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--azul); }
.faq__lista summary::-webkit-details-marker { display: none; }
.faq__lista summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--vermelho); transition: transform 0.3s var(--ease); }
.faq__lista details[open] summary::after { transform: rotate(45deg); }
.faq__lista details p { padding: 0 48px 24px 0; color: var(--texto-2); max-width: 62ch; }

/* ---------- Contato ---------- */
.contato__grade { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 7vw, 110px); align-items: end; }
.contato__dados { display: grid; gap: 28px; }
.contato__dados dt { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.contato__dados dd { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.015em; }
.contato__dados a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.contato__dados a:hover { border-color: #fff; }
.contato .btn { margin-top: 36px; }

/* ---------- Rodapé ---------- */
.rodape { position: relative; background: var(--noite); color: rgba(255, 255, 255, 0.8); padding-top: 72px; overflow: hidden; }
.rodape::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 72px 72px; pointer-events: none; }
.rodape__grade { position: relative; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.rodape__logo img { height: 56px; width: auto; filter: brightness(0) invert(1); }
.rodape__tag { margin-top: 16px; max-width: 32ch; }
.rodape__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; }
.rodape__nav a { text-decoration: none; }
.rodape__nav a:hover { color: #fff; text-decoration: underline; }
.rodape__social { display: flex; gap: 16px; }
.rodape__fantasma { position: relative; margin-top: 56px; font-size: clamp(2.6rem, 11.5vw, 11rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.82; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.22); user-select: none; transform: translateY(18%); }
.rodape__fim { position: relative; background: var(--noite); padding-block: 20px; border-top: 1px solid var(--linha-escura); font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }

.topo-btn { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--vermelho); color: #fff; font-size: 1.4rem; cursor: pointer; z-index: 900; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.topo-btn.visivel { opacity: 1; visibility: visible; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 2000; background: rgba(3, 14, 30, 0.9); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.modal.ativo { opacity: 1; visibility: visible; }
.modal__caixa { position: relative; width: min(1100px, 100%); height: min(88vh, 860px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); background: var(--noite); color: #fff; border-radius: 12px; overflow: hidden; transform: scale(0.96); transition: transform 0.3s var(--ease); }
.modal.ativo .modal__caixa { transform: none; }
.modal__midia { position: relative; background: #031228; min-height: 0; }
.modal__img { width: 100%; height: 100%; object-fit: contain; }
.modal__painel { width: 100%; height: 100%; background: linear-gradient(165deg, #0d4a94, var(--noite)); display: flex; align-items: center; justify-content: center; }
.modal__painel img { width: 160px; filter: brightness(0) invert(1); opacity: 0.3; }
.modal__img[hidden], .modal__painel[hidden] { display: none; }
.modal__lado { padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; overflow: auto; }
.modal__titulo { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; padding-right: 48px; }
.modal__dados { display: grid; gap: 12px; }
.modal__dados dt { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }
.modal__dados dd { font-weight: 600; }
.modal__mapa { margin-top: auto; height: 220px; border-radius: var(--raio); overflow: hidden; background: #0b3a73; }
.modal__mapa:empty { display: none; }
.modal__mapa iframe { width: 100%; height: 100%; border: 0; }
.modal__fechar, .modal__nav { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
.modal__fechar:hover, .modal__nav:hover { background: rgba(255, 255, 255, 0.3); }
.modal__fechar { top: 16px; right: 16px; }
.modal__nav { bottom: 16px; }
.modal__thumbs { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; z-index: 2; }
.modal__thumbs button { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #000; cursor: pointer; opacity: 0.7; }
.modal__thumbs button.ativa, .modal__thumbs button:hover { border-color: #fff; opacity: 1; }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__nav--ant { left: 16px; }
.modal__nav--prox { left: 68px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
    .hero__grade { grid-template-columns: 1fr; min-height: 0; }
    .fachada { height: 440px; }
    .hero--video .hero__grade { min-height: 0; padding-block: 120px 56px; }
    .hero__veu { background: linear-gradient(to top, var(--noite) 0%, rgba(5, 35, 74, 0.55) 45%, rgba(5, 35, 74, 0.8) 100%); }
    .hero__pausa { bottom: 24px; }
    .sobre__grade, .pan__grade, .faq__grade, .contato__grade { grid-template-columns: 1fr; }
        .produtos__grade { grid-template-columns: repeat(2, 1fr); }
    .obras { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1020px) {
    .topo__toggle { display: block; margin-left: auto; }
    .topo__social { display: none; }
    .topo__menu { position: fixed; inset: 0; background: var(--noite); color: #fff; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: 96px 32px 32px; font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; transform: translateY(-100%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0.45s; margin-left: 0; }
    .topo--aberto .topo__menu { transform: none; visibility: visible; }
    .topo--aberto { background: transparent; color: #fff; box-shadow: none; backdrop-filter: none; }
    .topo--aberto .topo__logo img { filter: brightness(0) invert(1); }
    .topo--aberto .topo__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .topo--aberto .topo__toggle span:nth-child(2) { opacity: 0; }
    .topo--aberto .topo__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .topo__in { position: relative; z-index: 2; }
    .topo__cta { display: none; }
    .modal__caixa { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; height: 92vh; }
    .modal__lado { padding: 20px; gap: 14px; }
    .modal__mapa { height: 140px; }
    .modal__titulo { font-size: 1.35rem; }
}
@media (max-width: 720px) {
    .fatos__lista { grid-template-columns: 1fr; }
    .fatos__item { border-right: 0; margin-right: 0; padding: 14px 0; border-bottom: 1px solid var(--linha-escura); }
    .fatos__item:last-child { border-bottom: 0; }
    .fachada { height: 340px; gap: 6px; min-height: 0; }
    .obras { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .obra__nome { font-size: 0.98rem; }
    .obra__info { padding: 40px 12px 12px; }
    .port__select { margin-left: 0; width: 100%; }
    .produtos__grade { gap: 16px; }
    .faq__lista details p { padding-right: 0; }
    .rodape__nav { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .produtos__grade { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .vao { animation: none; }
    .trilho { animation: none; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
