/* =========================================================
   BaseFort — estilos
   Cores e tipografia ficam nas variáveis abaixo. A paleta segue o
   brandboard da Basefort (marca/brandboard-basefort.png); os tons
   derivados existem só para garantir contraste.
   ========================================================= */
:root {
  /* Paleta oficial da marca */
  --brand-blue: #159cdc;           /* Azul Basefort — detalhes e destaques */
  --brand-navy: #141f2b;           /* Azul-marinho — textos e superfícies escuras */
  --brand-ice: #f5f8fa;            /* Gelo — superfícies claras */
  --brand-white: #ffffff;          /* Branco */
  --brand-light-blue: #75d0ff;     /* Azul-claro — apoio sobre fundo escuro */
  --brand-gray-blue: #b4c4d2;      /* Cinza-azulado — apoio sobre fundo escuro */

  /* Azul — ações e destaques */
  --color-primary: #0e6fa0;        /* azul da marca escurecido: texto branco com contraste 5,5:1 */
  --color-primary-hover: #0b5a82;
  --color-on-primary: #ffffff;
  --color-highlight: var(--brand-blue);       /* ícones, números, sublinhados, bordas, foco */
  --color-highlight-on-dark: var(--brand-light-blue); /* textos em azul sobre o marinho (9,7:1) */
  --color-blue-050: #e9f6fc;
  --color-blue-100: #c9eaf8;

  /* Azul-marinho — títulos, textos e áreas escuras */
  --color-title: var(--brand-navy);
  --color-text: #26323f;           /* marinho suavizado para textos longos (12:1 no branco) */
  --color-text-muted: #4e5c6b;     /* 6,9:1 no branco */
  --color-text-subtle: #5e6c7b;    /* 5,4:1 no branco */
  --color-dark: var(--brand-navy);
  --color-dark-deep: #0d151e;
  --color-on-dark: var(--brand-white);
  --color-on-dark-muted: var(--brand-gray-blue);  /* 9,3:1 no marinho */

  /* Fundos claros */
  --color-white: var(--brand-white);
  --color-surface: var(--brand-ice);
  --color-border: #d8e1e9;
  --color-input-border: #a9b8c6;
  --color-photo-bg: #f7f7f7;       /* mesmo cinza do fundo das fotos de produto */

  /* Estados */
  --color-error: #b42318;
  --color-success: #1e7a46;
  --focus-ring: 0 0 0 3px rgba(21, 156, 220, .35);

  /* Tipografia: Segoe UI Bold em títulos e chamadas, Segoe UI Regular em textos */
  --font-display: "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-space: clamp(64px, 9vw, 120px);
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 10px 30px -12px rgba(20, 31, 43, .28);
  --header-h: 92px;
  --logo-h: 72px;
}
@media (max-width: 639px) {
  :root { --header-h: 68px; --logo-h: 30px; }   /* wordmark no lugar do logo completo */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--color-title); }
h1 { font-size: clamp(2.05rem, 4.8vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--color-primary); }
a:hover { color: var(--color-primary-hover); }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--color-highlight); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--color-blue-100); color: var(--color-title); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--color-primary); color: var(--color-on-primary); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--color-on-primary); }

/* ---------- Faixa de revisão ---------- */
.review-bar { background: var(--color-blue-050); color: var(--color-title); text-align: center; font-size: .85rem; padding: 8px var(--gutter); border-bottom: 1px solid var(--color-blue-100); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 10px 26px; text-align: center;
  font: 600 1rem/1.25 var(--font-body); text-decoration: none; letter-spacing: .01em;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn-primary:hover { background: var(--color-primary-hover); color: var(--color-on-primary); box-shadow: 0 6px 16px -6px rgba(14, 111, 160, .6); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: var(--color-on-dark); }
.btn-ghost-light:hover { border-color: var(--color-highlight); color: var(--color-on-dark); background: rgba(21,156,220,.14); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .65; cursor: progress; }

.link-arrow { display: inline-flex; align-self: flex-start; align-items: center; gap: .4em; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--color-primary); }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow:hover { color: var(--color-primary-hover); text-decoration: underline; text-decoration-color: var(--color-highlight); text-underline-offset: 4px; }

/* ---------- Cabeçalho (fundo branco para a assinatura completa) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--color-white); color: var(--color-title); border-bottom: 1px solid var(--color-border); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(20, 31, 43, .12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; padding: 4px 0; }
.brand picture { display: block; }
.brand-logo { height: var(--logo-h); width: auto; }   /* largura automática: nunca distorce */
.brand:focus-visible { outline-offset: 4px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav ul a { display: block; padding: 10px 12px; white-space: nowrap; color: var(--color-text); text-decoration: none; font-size: .95rem; font-weight: 500; border-radius: var(--radius); position: relative; transition: color .15s, background-color .15s; }
.main-nav ul a:hover { color: var(--color-primary); background: var(--color-blue-050); }
.main-nav ul a.is-active, .main-nav ul a[aria-current="page"] { color: var(--color-title); font-weight: 600; }
.main-nav ul a.is-active::after, .main-nav ul a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--color-highlight); }

.nav-toggle { display: none; width: 48px; height: 48px; background: none; border: 1px solid var(--color-border); color: var(--color-title); cursor: pointer; border-radius: var(--radius); position: relative; }
.nav-toggle:hover { border-color: var(--color-highlight); color: var(--color-primary); }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 24px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle-bar { top: 22px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1179px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 8px var(--gutter) 24px; background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 16px 30px rgba(20, 31, 43, .18);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--color-border); border-radius: 0; }
  .main-nav ul a.is-active::after, .main-nav ul a[aria-current="page"]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .nav-cta { min-height: 52px; }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section-space); }
.section-muted { background: var(--color-surface); }
.section-dark { background: var(--color-dark); color: var(--color-on-dark); }
.section-dark h2, .section-dark h3 { color: var(--color-on-dark); }
.section-dark p { color: var(--color-on-dark-muted); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p:last-child { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 0; }
.section-dark .section-head p:last-child { color: var(--color-on-dark-muted); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-highlight-on-dark); margin-bottom: 14px; }
.eyebrow-dark { color: var(--color-primary); }
.icon { width: 36px; height: 36px; color: var(--color-highlight); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 100%) 0 0 / 28px 28px,
    linear-gradient(160deg, #1d2d3e 0%, var(--color-dark-deep) 100%);
  color: var(--color-on-dark);
  padding-block: clamp(56px, 8vw, 104px);
}
.hero h1 { color: var(--color-on-dark); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--color-on-dark-muted); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 520px; }
.hero-stats li { border-left: 3px solid var(--color-highlight); padding: 4px 0 4px 16px; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.6rem); line-height: 1; color: var(--color-on-dark); }
.hero-stats span { font-size: .92rem; color: var(--color-on-dark-muted); }

/* ---------- Espaços para fotos ---------- */
.photo-slot {
  margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, #e7eef3 0 14px, #f5f8fa 14px 28px);
  border: 2px dashed #a9b8c6; color: var(--color-text-muted);
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot:has(img) { border: 0; background: none; }
.photo-slot-label { display: grid; justify-items: center; gap: 6px; padding: 16px; font-weight: 600; font-size: .95rem; }
.photo-slot-label svg { width: 32px; height: 32px; }
.photo-slot-label small { font-weight: 400; font-size: .82rem; color: var(--color-text-subtle); }
.photo-slot--hero { aspect-ratio: 5 / 4; }
.photo-slot--tall { aspect-ratio: 4 / 5; }
.hero .photo-slot, .section-dark .photo-slot { background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 14px, rgba(255,255,255,.02) 14px 28px); border-color: rgba(255,255,255,.32); color: rgba(255,255,255,.88); }
.hero .photo-slot small { color: rgba(255,255,255,.65); }

/* ---------- Caminhos (Soluções) ---------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.path-card {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px 24px;
  background: var(--color-white); border: 1px solid var(--color-border); border-top: 4px solid var(--brand-navy);
  border-radius: var(--radius-lg); transition: box-shadow .25s, transform .25s, border-color .25s;
}
.path-card:hover, .path-card:focus-within { box-shadow: var(--shadow); transform: translateY(-3px); border-top-color: var(--color-highlight); }
.path-card h3 { margin-top: 18px; }
.path-card p { color: var(--color-text-muted); flex: 1; }
.path-num { position: absolute; top: 22px; right: 24px; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--color-blue-100); line-height: 1; }

/* ---------- Estrutura ---------- */
.structure-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.big-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.big-stat { padding: 28px 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-top: 3px solid var(--color-highlight); border-radius: var(--radius-lg); }
.big-stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--color-highlight-on-dark); margin-bottom: 12px; }
.big-stat h3 { font-size: 1.3rem; margin-bottom: 8px; }
.big-stat p { font-size: .97rem; margin: 0; }
.note { font-size: .92rem; margin: 28px 0 36px; padding-left: 14px; border-left: 2px solid var(--color-highlight); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.service { padding: 32px 26px 22px; display: flex; flex-direction: column; border-right: 1px solid var(--color-border); background: var(--color-white); transition: background-color .2s, box-shadow .2s; }
.service:last-child { border-right: 0; }
.service:hover, .service:focus-within { background: var(--color-surface); box-shadow: inset 0 3px 0 var(--color-highlight); }
.service h3 { margin-top: 18px; }
.service p { color: var(--color-text-muted); font-size: .98rem; flex: 1; }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-bottom: 48px; position: relative; }
.step { position: relative; padding-top: 68px; }
.step::before { content: ""; position: absolute; top: 24px; left: 48px; right: -20px; height: 2px; background: var(--color-blue-100); }
.step:last-child::before { display: none; }
.step-num { position: absolute; top: 0; left: 0; width: 48px; height: 48px; display: grid; place-items: center; background: var(--color-primary); color: var(--color-on-primary); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; border-radius: 50%; }
.step h3 { font-size: 1.25rem; }
.step p { font-size: .96rem; color: var(--color-text-muted); margin: 0; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-text > p { color: var(--color-text-muted); }
.checklist { margin-top: 24px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-weight: 500; color: var(--color-title); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 3px; background: var(--color-blue-050); box-shadow: inset 0 0 0 2px var(--color-highlight); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 3px); width: 5px; height: 9px; border: solid var(--color-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Produtos ---------- */
.section-bordered { border-top: 1px solid var(--color-border); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }

/* Cartões de produto (início e /produtos/) */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; background: var(--color-white); border: 1px solid var(--color-border); border-top: 4px solid var(--brand-navy); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.product-card:hover, .product-card:focus-within { box-shadow: var(--shadow); transform: translateY(-3px); border-top-color: var(--color-highlight); }
.product-card-photo { display: block; background: var(--photo-bg, var(--color-photo-bg)); }
.product-card-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 18px; }
.product-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a:hover { color: var(--color-primary); }
.product-card p { color: var(--color-text-muted); flex: 1; }
.product-grid-more { margin: 28px 0 0; }

/* Cabeçalho de páginas internas */
.page-hero { background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding-block: clamp(32px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero .lead { font-size: 1.12rem; color: var(--color-text-muted); max-width: 680px; margin: 0; }
.page-hero--center { text-align: center; padding-block: clamp(64px, 10vw, 128px); }
.page-hero--center .lead { margin-inline: auto; margin-bottom: 28px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .88rem; color: var(--color-text-subtle); margin-bottom: 18px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--color-border); }
.breadcrumb a { color: var(--color-text-muted); text-decoration: none; display: inline-block; padding: 12px 4px; margin: -8px -4px; }
.breadcrumb a:hover { color: var(--color-primary); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--color-title); font-weight: 500; padding: 4px 0; }

.custom-box { display: grid; grid-template-columns: 1.4fr auto; gap: 24px 48px; align-items: center; }
.custom-box h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.custom-box p { color: var(--color-text-muted); margin: 0; max-width: 640px; }
.custom-box-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Página de produto (LP) */
.lp-hero { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.lp-hero-grid--sem-foto { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.lp-hero-info h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 14px; }
.lp-description { color: var(--color-text-muted); font-size: 1.05rem; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-actions--center { justify-content: center; }
.btn-outline { border-color: var(--color-input-border); color: var(--color-title); background: var(--color-white); }
.btn-outline:hover { border-color: var(--color-highlight); color: var(--color-primary); background: var(--color-blue-050); }

.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.benefit { padding: 26px 24px; background: var(--color-white); border: 1px solid var(--color-border); border-left: 3px solid var(--color-highlight); border-radius: var(--radius-lg); }
.benefit h3 { font-size: 1.3rem; margin: 14px 0 8px; }
.benefit p { color: var(--color-text-muted); margin: 0; font-size: .98rem; }
.checklist--columns { columns: 2 280px; column-gap: 40px; display: block; }
.checklist--columns li { break-inside: avoid; margin-bottom: 12px; }

.specs--table { margin: 0; }
.specs--table div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); padding: 14px 4px; font-size: 1rem; }
.specs-note { font-size: .88rem; color: var(--color-text-subtle); margin: 16px 0 0; }

.lp-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.lp-cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.lp-cta p { margin: 0; max-width: 620px; }
.lp-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.draft-bar { background: #fdecea; color: #7a1a12; text-align: center; font-size: .88rem; padding: 10px var(--gutter); border-bottom: 1px solid #f5c2bc; }

/* Galeria de produto */
.product-gallery { display: grid; gap: 12px; }
.product-main { margin: 0; }
.product-main-link { position: relative; display: block; background: var(--photo-bg, var(--color-photo-bg)); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.product-main img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: opacity .2s; }
.product-main-zoom { position: absolute; right: 10px; bottom: 10px; padding: 6px 10px; font-size: .8rem; font-weight: 600; color: var(--color-title); background: rgba(255,255,255,.92); border: 1px solid var(--color-border); border-radius: 999px; opacity: 0; transition: opacity .2s; }
.product-main-link:hover .product-main-zoom, .product-main-link:focus-visible .product-main-zoom { opacity: 1; }
.product-main figcaption { margin-top: 8px; font-size: .85rem; color: var(--color-text-muted); min-height: 1.4em; }
.product-gallery--section { max-width: 560px; }
.product-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 10px; }
.product-thumbs button { display: block; width: 100%; padding: 0; background: var(--photo-bg, var(--color-photo-bg)); border: 2px solid var(--color-border); border-radius: var(--radius); cursor: pointer; overflow: hidden; transition: border-color .15s; }
.product-thumbs button:hover { border-color: var(--color-text-subtle); }
.product-thumbs button[aria-pressed="true"] { border-color: var(--color-highlight); box-shadow: 0 0 0 1px var(--color-highlight); }
.product-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.lp-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.lp-highlights li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 10px; font-size: .92rem; font-weight: 500; color: var(--color-title); background: var(--color-blue-050); border: 1px solid var(--color-blue-100); border-radius: 999px; }
.lp-highlights svg { width: 16px; height: 16px; color: var(--color-primary); flex-shrink: 0; }

.applications { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.application { display: flex; flex-direction: column; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.application-photo { margin: 0; position: relative; }
.application-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.application-photo figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; font-size: .78rem; font-weight: 500; color: var(--color-title); background: rgba(255,255,255,.92); border-radius: 999px; }
.application-body { padding: 20px 22px 22px; }
.application-body h3 { font-size: 1.35rem; margin-bottom: 6px; }
.application-body p { margin: 0; color: var(--color-text-muted); }
.section-note { margin: 24px 0 0; font-size: .95rem; color: var(--color-text-muted); padding-left: 14px; border-left: 2px solid var(--color-highlight); }

/* Seleção de cores */
.color-picker { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.color-preview { margin: 0; }
.color-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--color-photo-bg); border: 1px solid var(--color-border); border-radius: var(--radius); }
.color-preview figcaption { margin-top: 8px; font-size: .85rem; color: var(--color-text-muted); }
.color-status { font-weight: 600; color: var(--color-title); margin-bottom: 14px; }
.color-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.color-option {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px;
  font: 500 1rem/1.2 var(--font-body); color: var(--color-title); text-align: left;
  background: var(--color-white); border: 2px solid var(--color-border); border-radius: var(--radius); cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.color-option:hover { border-color: var(--color-text-subtle); }
.color-option[aria-pressed="true"] { border-color: var(--color-highlight); background: var(--color-blue-050); box-shadow: 0 0 0 1px var(--color-highlight); font-weight: 600; }
.color-swatch { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.22); }
.color-name { flex: 1; }
.color-check { display: none; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--color-primary); }
.color-check svg { width: 14px; height: 14px; }
.color-option[aria-pressed="true"] .color-check { display: inline-flex; }
.color-note { margin: 16px 0 0; font-size: .85rem; color: var(--color-text-subtle); }

/* Bloco imagem + texto */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature--inverted .feature-photo { order: 2; }
.feature-photo { margin: 0; position: relative; }
.feature-photo img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.feature-photo figcaption { margin-top: 8px; font-size: .85rem; color: var(--color-text-muted); }
.feature-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.feature-text > p:not(.eyebrow):not(.section-note) { color: var(--color-text-muted); }
.feature-text .checklist { margin-top: 18px; }

/* Vídeo */
.feature--video { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.video-frame { margin: 0; justify-self: center; width: 100%; max-width: 380px; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #000; border-radius: var(--radius-lg); }
.video-frame figcaption { margin-top: 8px; font-size: .85rem; color: var(--color-on-dark-muted); }
.section-dark .feature-text .section-note { color: var(--color-on-dark-muted); }

/* Consulta técnica */
.consult-box { margin-top: 24px; padding: 24px; background: var(--color-surface); border: 1px solid var(--color-border); border-left: 4px solid var(--color-highlight); border-radius: var(--radius-lg); }
.consult-box h3 { font-size: 1.4rem; margin-bottom: 12px; }
.consult-box .checklist { margin: 0 0 22px; }

/* Campos opcionais do orçamento na chamada final */
.lp-cta--orcamento .lp-cta-inner { grid-template-columns: 1fr; max-width: 880px; }
.quote-builder { background: var(--color-white); color: var(--color-text); border-radius: var(--radius-lg); border-top: 4px solid var(--color-highlight); padding: clamp(18px, 3vw, 28px); }
.section-dark .quote-builder p { color: var(--color-text-muted); }
.quote-builder-intro { margin-bottom: 16px; font-size: .95rem; }
.quote-builder-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.quote-builder .field label { color: var(--color-title); }
.section-dark .quote-builder .quote-builder-preview { margin: 4px 0 0; font-size: .88rem; padding: 12px 14px; background: var(--color-surface); border-radius: var(--radius); color: var(--color-title); }
.quote-builder-preview span { display: block; font-weight: 600; margin-bottom: 4px; color: var(--color-text-muted); }
.quote-builder-preview q { quotes: "“" "”"; }

.notice { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0 0; padding: 14px 16px; font-size: 1rem; color: var(--color-title); background: var(--color-surface); border: 1px solid var(--color-border); border-left: 4px solid var(--brand-navy); border-radius: var(--radius); }
.notice svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--brand-navy); margin-top: 1px; }
.notice strong { font-weight: 600; }
.product-tagline { font-size: 1.15rem; font-weight: 600; color: var(--color-primary); }
.specs { margin: 24px 0 28px; border-top: 1px solid var(--color-border); }
.specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--color-border); font-size: .95rem; }
.specs dt { color: var(--color-text-muted); }
.specs dd { margin: 0; font-weight: 600; color: var(--color-title); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); transition: border-color .2s; }
.faq details:hover, .faq details[open] { border-color: var(--color-highlight); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 1.05rem; color: var(--color-title); position: relative; min-height: 44px; border-radius: var(--radius-lg); }
.faq summary:hover { color: var(--color-primary); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border: solid var(--color-highlight); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--color-text-muted); }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-hints { display: grid; gap: 8px; margin-top: 24px; font-size: .92rem; color: var(--color-on-dark-muted); }
.contact-hints li { padding-left: 16px; border-left: 2px solid var(--color-highlight); }
.contact-alt { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.contact-alt p { margin-bottom: 12px; font-weight: 500; color: var(--color-on-dark); }
.btn-icon { width: 20px; height: 20px; flex-shrink: 0; }
.footer-contacts a { display: inline-block; padding: 12px 0; margin-block: -12px; color: var(--color-primary); font-weight: 500; }
.footer-contacts a:hover { color: var(--color-primary-hover); text-decoration-color: var(--color-highlight); }

.quote-form { background: var(--color-white); color: var(--color-text); padding: clamp(22px, 4vw, 40px); border-radius: var(--radius-lg); border-top: 4px solid var(--color-highlight); box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); }
.quote-form p { color: inherit; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--color-title); }
.req { color: var(--color-error); }
.opt { font-weight: 400; color: var(--color-text-subtle); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font-body); color: var(--color-title);
  background: var(--color-white); border: 1.5px solid var(--color-input-border); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-text-subtle); }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-text) 50%), linear-gradient(135deg, var(--color-text) 50%, transparent 50%); background-position: right 20px center, right 14px center; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-highlight); box-shadow: var(--focus-ring); }
.field [aria-invalid="true"] { border-color: var(--color-error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .18); }
.quote-form .field-hint { font-size: .85rem; color: var(--color-text-subtle); margin: 6px 0 0; }
.quote-form .field-error { font-size: .87rem; color: var(--color-error); margin: 6px 0 0; font-weight: 500; }
.field-error:empty { display: none; }

.quote-form .privacy-slot { font-size: .87rem; color: var(--color-text-muted); background: var(--color-surface); border: 1px dashed #a9b8c6; border-radius: var(--radius); padding: 12px 14px; margin: 4px 0 20px; }
.quote-form .form-note { font-size: .87rem; color: var(--color-text-muted); margin: 0 0 14px; }
.form-status a { font-weight: 600; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-size: .95rem; }
.form-status.is-warning { background: var(--color-blue-050); color: var(--color-title); border: 1px solid var(--color-blue-100); border-left: 4px solid var(--color-highlight); }
.form-status.is-error { background: #fdecea; color: var(--color-error); border: 1px solid #f5c2bc; }
.form-status.is-success { background: #e7f5ec; color: var(--color-success); border: 1px solid #b8e0c6; }

/* ---------- Rodapé (fundo claro para a assinatura completa) ---------- */
.site-footer { background: var(--color-surface); color: var(--color-text-muted); padding-top: 64px; font-size: .95rem; border-top: 4px solid var(--brand-navy); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.brand--footer { margin-bottom: 18px; }
.brand-wordmark { height: 40px; width: auto; }
.footer-about { max-width: 360px; }
.footer-title { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-title); margin-bottom: 14px; }
.footer-links { display: grid; gap: 2px; }
.footer-links a { display: inline-block; padding: 6px 0; color: var(--color-text); text-decoration: none; }
.footer-links a:hover { color: var(--color-primary); text-decoration: underline; text-decoration-color: var(--color-highlight); text-underline-offset: 4px; }
.footer-contacts { display: grid; gap: 10px; }
.footer-contacts span { color: var(--color-title); font-weight: 500; }
.pending { font-style: italic; color: var(--color-text-subtle); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--color-border); padding-block: 22px; font-size: .87rem; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 16px;
  background: var(--color-primary); color: var(--color-on-primary); border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  box-shadow: 0 8px 22px -8px rgba(20, 31, 43, .55);
  opacity: 0; visibility: hidden;   /* sem deslocamento: a posição oculta é a mesma usada no teste de sobreposição */
  transition: opacity .2s, visibility 0s .2s, background-color .2s;
}
.wa-float.is-visible { opacity: 1; visibility: visible; transition: opacity .2s, background-color .2s; }
.wa-float:hover { background: var(--color-primary-hover); color: var(--color-on-primary); }
.wa-float:focus-visible { outline-offset: 4px; }
.wa-float svg { width: 22px; height: 22px; }
.no-js .wa-float { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 639px) {
  .wa-float { width: 52px; padding: 0; justify-content: center; }
  .wa-float-label { display: none; }
}

/* ---------- Animações leves ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { 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: 1023px) {
  .hero-grid, .structure-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .photo-slot--hero { aspect-ratio: 16 / 9; }
  .photo-slot--tall { aspect-ratio: 16 / 10; order: 2; }
  .paths { grid-template-columns: 1fr; max-width: 640px; }
  .lp-hero-grid { grid-template-columns: 1fr; }
  .product-gallery { max-width: 560px; }
  .custom-box, .lp-cta-inner { grid-template-columns: 1fr; }
  .color-picker, .feature { grid-template-columns: 1fr; }
  .feature--inverted .feature-photo { order: 0; }
  .color-preview { max-width: 560px; }
  .quote-builder-fields { grid-template-columns: 1fr 1fr; }
  .quote-builder-fields .field:last-child { grid-column: 1 / -1; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(2n) { border-right: 0; }
  .service:nth-child(-n+2) { border-bottom: 1px solid var(--color-border); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .step { padding: 0 0 32px 72px; min-height: 80px; }
  .step::before { top: 52px; bottom: 4px; left: 23px; right: auto; width: 2px; height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  body { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .big-stats { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .service { border-right: 0; border-bottom: 1px solid var(--color-border); }
  .service:last-child { border-bottom: 0; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { gap: 10px; }
  .photo-slot-label { font-size: .82rem; padding: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-wordmark { height: 34px; }
  .center .btn { width: 100%; }
  .lp-actions .btn, .lp-cta-actions .btn, .custom-box-actions .btn { width: 100%; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .quote-builder-fields { grid-template-columns: 1fr; }
  .consult-box .btn { width: 100%; }
  .color-option { padding: 10px 12px; gap: 10px; }
  .color-check { font-size: 0; }           /* no celular fica só o ícone; o status acima diz a cor escolhida */
  .color-check svg { width: 18px; height: 18px; }
}

/* ---------- Banners da página inicial (carrossel manual) ---------- */
.banners { position: relative; background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.banners-viewport { max-width: 1920px; margin-inline: auto; overflow: hidden; }
.banners-track { display: flex; transition: transform .45s cubic-bezier(.22, .61, .36, 1); touch-action: pan-y; }
.banner-slide { flex: 0 0 100%; min-width: 0; }
.banner-link { display: block; aspect-ratio: 3 / 1; background: var(--color-surface); }
.banner-link img { width: 100%; height: 100%; object-fit: contain; }
.banner-link:focus-visible { outline-offset: -5px; border-radius: 0; }
.banner-legenda { display: none; }
.banners-seta {
  /* setas na faixa dos indicadores: não cobrem o texto das artes */
  position: absolute; bottom: 4px; z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  font: 700 2rem/1 var(--font-body); color: var(--color-title);
  background: rgba(255, 255, 255, .88); border: 1px solid var(--color-border); border-radius: 50%;
  box-shadow: 0 4px 14px -6px rgba(20, 31, 43, .45); cursor: pointer; transition: background-color .2s, color .2s;
}
.banners-seta span[aria-hidden] { margin-top: -4px; }
.banners-seta:hover { background: var(--color-white); color: var(--color-primary); }
.banners-seta--ant { left: calc(50% - 190px); }
.banners-seta--prox { right: calc(50% - 190px); }
.banners-pontos { display: flex; justify-content: center; align-items: center; gap: 4px; min-height: 52px; padding: 0 0 4px; }
.banners-ponto { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; background: none; border: 0; cursor: pointer; border-radius: 50%; }
.banners-ponto::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--color-input-border); transition: width .2s, background-color .2s; }
.banners-ponto[aria-current="true"]::before { width: 24px; border-radius: 5px; background: var(--color-primary); }
@media (prefers-reduced-motion: reduce) { .banners-track { transition: none; } }
@media (max-width: 767px) {
  /* no celular, o texto da arte fica pequeno: nome da linha e link legíveis abaixo */
  .banner-legenda { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin: 0; padding: 10px var(--gutter) 0; font-size: 1rem; color: var(--color-title); }
  .banner-legenda a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
  .banners-seta { font-size: 1.6rem; }
  .banners-seta--ant { left: 8px; }
  .banners-seta--prox { right: 8px; }
  .banners-ponto { width: 30px; }
}
/* aviso discreto no canto de cada banner (fica dentro da área da arte) */
.banner-link { position: relative; }
.banner-aviso {
  position: absolute; right: 10px; bottom: 8px;
  padding: 2px 8px; font-size: .72rem; line-height: 1.4; letter-spacing: .01em;
  color: #fff; background: rgba(20, 31, 43, .55); border-radius: 999px;
  pointer-events: none;
}
@media (max-width: 767px) { .banner-aviso { right: 6px; bottom: 5px; padding: 1px 6px; font-size: .625rem; } }

/* ---------- Foto real no hero (galpão de injetoras) ---------- */
.photo-slot.photo-slot--foto { aspect-ratio: auto; display: block; }
.hero .photo-slot.photo-slot--foto { border: 0; background: none; }
.photo-slot.photo-slot--foto img { display: block; width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: cover; }

/* ---------- Estrutura: galeria de fotos reais (17/11/2026) ---------- */
.gallery-card { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); }
.gallery-card figcaption { font-weight: 600; font-size: .98rem; line-height: 1.35; color: var(--color-on-dark); padding-left: 12px; border-left: 2px solid var(--color-highlight); }
