/* Páginas internas (soluções, indústrias, perguntas frequentes e obras). Usa as variáveis do style.css. */
.pagina main { padding-top: var(--header-h); background: var(--cream); }

.crumbs { padding-top: 20px; font-size: 13px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-field); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-dark); text-decoration: underline; }

.page-hero { padding: 28px 0 48px; }
.page-hero--simple { padding-bottom: 24px; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero .lead { margin-top: 16px; max-width: 62ch; }
.page-hero__brands { margin-top: 14px; color: var(--muted); font-size: 15px; }
.page-hero .hero__ctas { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.page-hero__media { margin: 0; }
.page-hero__media img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow-card); display: block; }
.page-hero__media--logo { display: flex; align-items: center; justify-content: center; min-height: 220px;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.page-hero__media--logo img { width: auto; max-width: 60%; max-height: 140px; box-shadow: none; border-radius: 0; }

.page-section { padding-top: 40px; padding-bottom: 40px; }
.page-section .h2 + * { margin-top: 18px; }
.h2--sm { font-size: clamp(20px, 2.2vw, 24px); margin-top: 32px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.split p { margin-top: 14px; line-height: 1.6; }
.split .h2 + p { margin-top: 18px; }
.split .h2:not(:first-child) { margin-top: 32px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.checks .ic { flex: 0 0 auto; margin-top: 3px; }
.note { margin-top: 16px; font-size: 13px; color: var(--muted); }

.step-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.step-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.step-card h3 { font-family: var(--f-display); font-size: 18px; }
.step-card p { margin-top: 8px; line-height: 1.6; color: var(--ink-2); }

.link-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.link-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none;
  transition: border-color .2s, transform .2s; }
.link-card:hover { border-color: var(--teal); transform: translateY(-1px); }
.link-card > span { display: grid; gap: 2px; }
.link-card > span > span { font-size: 14px; color: var(--muted); }

.sol-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sol-card { display: block; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.sol-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.sol-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sol-card__body { display: grid; gap: 6px; padding: 18px 20px 22px; }
.sol-card__body strong { font-family: var(--f-display); font-size: 18px; }
.sol-card__body > span { font-size: 14px; line-height: 1.5; color: var(--muted); }

.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; color: var(--ink-2); line-height: 1.5; }

.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; display: block; }

.sources { margin: 12px 0 0; padding-left: 18px; line-height: 1.8; font-size: 14px; }
.sources a { color: var(--teal-dark); }

.cta-band { background: var(--grad-dark); color: var(--cream); padding: 48px 0; margin-top: 24px; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band p { margin-top: 10px; color: var(--cream-78); max-width: 60ch; }
.cta-band__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 8px; }
.footer__links strong { display: block; margin-bottom: 8px; color: var(--cream); }
.footer__links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.footer__links a { color: var(--cream-74); text-decoration: none; }
.footer__links a:hover { color: var(--teal); }

@media (max-width: 900px) {
  .page-hero__grid, .split { grid-template-columns: 1fr; gap: 28px; }
  .sol-cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .step-cards, .sol-cards, .footer__links { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Case de obra (obras/*) ---------- */
.case-hero { position: relative; overflow: hidden; background: var(--grad-dark); color: var(--cream); margin-top: 16px; }
.case-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.case-hero .h2 { color: var(--cream); }
.case-hero .h2 em { font-style: normal; color: var(--teal); }
.case-hero .lead { margin-top: 20px; color: var(--cream-78); max-width: 60ch; font-size: 19px; }
.case-hero .hero__ctas { margin-top: 32px; }
.case-hero__media { position: relative; margin: 0; }
.case-hero__media img { width: 100%; height: clamp(360px, 46vw, 560px); object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-form); }
.case-hero__badge { position: absolute; left: -28px; bottom: 32px; display: grid; gap: 2px; padding: 18px 22px; border-radius: 16px;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-card); }
.case-hero__badge strong { font-family: var(--f-display); font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.case-hero__badge span { font-size: 14px; color: var(--muted); }
.case-hero__deco { position: absolute; right: -44px; bottom: -44px; width: 440px; height: 220px; opacity: .35; pointer-events: none; }

.case-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case-stats li { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 6px; align-content: start; }
.case-stats li:first-child { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.case-stats strong { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.05; letter-spacing: -.03em; }
.case-stats li:first-child strong { color: var(--teal); }
.case-stats span { font-size: 15px; line-height: 1.45; color: var(--muted); }
.case-stats li:first-child span { color: var(--cream-78); }
.case-stats__note { margin-top: 14px; font-size: 15px; color: var(--ink-2); }

.spec-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spec-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; border-top: 4px solid var(--teal); }
.spec-card__tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); }
.spec-card h3 { margin-top: 8px; font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.spec-card__num { display: block; margin-top: 14px; font-family: var(--f-display); font-weight: 700; font-size: 30px; letter-spacing: -.03em; color: var(--ink); }
.spec-card p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }

.case-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: passo; }
.case-steps li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 56px 22px 24px; counter-increment: passo; }
.case-steps li::before { content: counter(passo, decimal-leading-zero); position: absolute; left: 22px; top: 20px;
  font-family: var(--f-display); font-weight: 700; font-size: 14px; color: var(--terra-dark); }
.case-steps h3 { font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.case-steps p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }

.case-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.case-gallery figure { margin: 0; overflow: hidden; border-radius: 16px; }
.case-gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.case-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.case-gallery figure:hover img { transform: scale(1.04); }

.case-why { background: var(--grad-dark); color: var(--cream); padding: 72px 0; margin-top: 40px; }
.case-why__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.case-why .h2 { color: var(--cream); }
.case-why p { margin-top: 18px; color: var(--cream-78); line-height: 1.6; }
.case-why .checks li { color: var(--cream); background: var(--cream-05); border: 1px solid var(--cream-10); border-radius: 14px; padding: 16px 18px; }
.case-why .checks .ic { color: var(--teal); }

@media (max-width: 1000px) {
  .case-hero__inner, .case-why__inner { grid-template-columns: 1fr; gap: 36px; }
  .case-hero__badge { left: 16px; bottom: 16px; }
  .case-stats, .case-steps { grid-template-columns: 1fr 1fr; }
  .spec-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .case-stats, .case-steps { grid-template-columns: 1fr; }
  .case-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
}

/* ---------- Perguntas em páginas de produto ---------- */
.faq-list { margin-top: 24px; display: grid; gap: 10px; max-width: 900px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq-list summary { cursor: pointer; padding: 18px 0; font-family: var(--f-display); font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--teal-dark); font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 0 18px; color: var(--ink-2); line-height: 1.6; }

.case-gallery--2 { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
.case-gallery--2 img { height: auto; aspect-ratio: auto; }
.case-steps--2 { grid-template-columns: 1fr 1fr; margin-top: 18px; }
.case-gallery--2 figure:first-child { grid-column: auto; grid-row: auto; }