/* ==========================================================================
   Photon Soluções — sistema visual compartilhado
   Azul-marinho + dourado. Usado por todas as páginas do site.
   ========================================================================== */

:root {
  /* Marinho */
  --navy-950: #07111F;
  --navy-900: #0B1A2E;
  --navy-850: #0F2139;
  --navy-800: #132A47;
  --navy-700: #1B365A;
  --line-dark: #20385A;

  /* Dourado */
  --gold: #C9A24A;
  --gold-hover: #D6B25E;
  --gold-soft: #E6CD8C;
  --gold-ink: #8A6A1F;          /* dourado legível sobre fundo claro */

  /* Texto */
  --text: #EAF0F7;
  --muted: #A3B2C7;
  --dim: #7C8CA3;

  /* Claro (marfim) */
  --paper: #F5F3EE;
  --paper-2: #ECE8DF;
  --paper-card: #FFFFFF;
  --ink: #0B1A2E;
  --ink-muted: #4B5A6E;
  --line-light: #DCD6C9;

  --radius: 6px;
  --radius-lg: 10px;
  --wrap: 1200px;
  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Consolas', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.015em; font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 12px; z-index: 200; background: var(--gold); color: var(--navy-950); padding: 8px 14px; border-radius: var(--radius); }

.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Rótulos e títulos ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.light .eyebrow { color: var(--gold-ink); }

.sec-head { max-width: 840px; margin-bottom: 48px; }
.sec-head p { max-width: 720px; }
.sec-head h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 16px 0 14px; }
.sec-head p { font-size: 18px; color: var(--muted); }
.light .sec-head p { color: var(--ink-muted); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius);
  font-size: 16px; font-weight: 600; text-decoration: none; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn .icon { width: 20px; height: 20px; }
.btn--gold { background: var(--gold); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--outline { border-color: #3A5579; color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--gold); color: #fff; }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--outline-dark { border-color: #B9B19F; color: var(--ink); background: transparent; }
.btn--outline-dark:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--gold); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.light .link-arrow { color: var(--gold-ink); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 17, 31, .96);
  border-bottom: 1px solid var(--line-dark);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(7, 17, 31, .88); backdrop-filter: blur(10px); } }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.nav__logo img { height: 38px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav__menu a { font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.nav__cta { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius);
  background: transparent; border: 1px solid var(--line-dark); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}

@media (max-width: 1140px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__menu {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-950); border-bottom: 1px solid var(--line-dark);
    padding: 8px 24px 20px;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
  .nav__menu a:hover { border-bottom-color: var(--line-dark); }
  .nav__menu .nav__menu-cta { display: block; margin-top: 16px; }
  .nav__menu .nav__menu-cta a { border: 0; text-align: center; color: var(--navy-950); padding: 12px; }
}
@media (min-width: 1141px) { .nav__menu-cta { display: none; } }

/* Submenu "Soluções" */
.nav__sub { list-style: none; }
@media (min-width: 1141px) {
  .has-sub { position: relative; }
  .has-sub::after { content: ""; position: absolute; left: -16px; right: -16px; top: 100%; height: 24px; }
  .has-sub > a::after { content: " ▾"; font-size: 11px; color: var(--gold); }
  .nav__sub {
    display: none; position: absolute; top: calc(100% + 22px); left: -18px; min-width: 250px;
    background: var(--navy-950); border: 1px solid var(--line-dark); border-top: 2px solid var(--gold);
    border-radius: 0 0 var(--radius) var(--radius); padding: 8px 0; box-shadow: 0 12px 28px rgba(0,0,0,.4);
  }
  .has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { display: block; }
  .nav__sub a { display: block; padding: 10px 18px; border: 0 !important; color: var(--muted); }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--navy-850); color: #fff; }
}
@media (max-width: 1140px) {
  .nav__sub { padding-left: 16px; }
  .nav__sub a { font-size: 15px !important; color: var(--dim) !important; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 104px 0 96px;
  background:
    linear-gradient(180deg, rgba(11,26,46,0) 0%, var(--navy-900) 100%),
    repeating-linear-gradient(90deg, rgba(32,56,90,.35) 0 1px, transparent 1px 96px),
    var(--navy-950);
  border-bottom: 1px solid var(--line-dark);
}
.hero__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 600; margin: 22px 0 22px; max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 600px; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Painel estilo console de monitoramento */
.panel {
  background: var(--navy-850); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  overflow: hidden;
}
.panel__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim);
}
.panel__status { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); }
.panel__status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.panel__row { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-top: 1px solid var(--line-dark); }
.panel__row:first-of-type { border-top: 0; }
.panel__row .icon { color: var(--gold); margin-top: 2px; }
.panel__row strong { display: block; font-weight: 600; color: #fff; }
.panel__row span { font-size: 15px; color: var(--muted); }

/* ---------- Hero de página interna ---------- */
.page-hero {
  padding: 72px 0 64px;
  background:
    repeating-linear-gradient(90deg, rgba(32,56,90,.3) 0 1px, transparent 1px 96px),
    var(--navy-950);
  border-bottom: 1px solid var(--line-dark);
}
.page-hero h1 { font-size: clamp(34px, 4.4vw, 54px); margin: 18px 0 18px; max-width: 22ch; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { font-size: 19px; color: var(--muted); max-width: 680px; }
.page-hero .hero__ctas { margin-top: 32px; }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 56px; align-items: center; }

.breadcrumb { font-family: var(--mono); font-size: 12.5px; color: var(--dim); letter-spacing: .04em; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--line-dark); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Faixa de números ---------- */
.stats { background: var(--navy-850); border-bottom: 1px solid var(--line-dark); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 24px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: 38px; font-weight: 600; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.stat b small { font-size: 22px; color: var(--gold); font-weight: 500; }
.stat span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.stats-note { grid-column: 1 / -1; font-size: 13px; color: var(--dim); padding: 0 0 18px; }

/* ---------- Seções ---------- */
section { padding: 96px 0; }
.dark-2 { background: var(--navy-850); }
.light { background: var(--paper); color: var(--ink); }
.light-2 { background: var(--paper-2); color: var(--ink); }

/* ---------- Grade de soluções ---------- */
.sol-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden;
}
.sol { background: var(--navy-900); padding: 34px 32px; display: flex; flex-direction: column; }
.sol__num { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .1em; margin-bottom: 22px; display: flex; justify-content: space-between; align-items: center; }
.sol__num .icon { width: 30px; height: 30px; color: var(--gold); }
.sol h3 { font-size: 21px; margin-bottom: 10px; }
.sol p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; flex-grow: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tags li { font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: #C5D1E0; border: 1px solid var(--line-dark); border-radius: 3px; padding: 3px 8px; }
.light .tags li, .light-2 .tags li { color: var(--ink-muted); border-color: var(--line-light); background: var(--paper); }

/* Cartões “outras formas de contratar” */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.offer {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  padding: 26px 28px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  background: var(--navy-850); text-decoration: none; transition: border-color .2s;
}
.offer:hover { border-color: var(--gold); }
.offer .icon { width: 32px; height: 32px; color: var(--gold); }
.offer strong { display: block; font-size: 18px; color: #fff; font-weight: 600; }
.offer span { font-size: 15px; color: var(--muted); }
.offer .arrow { color: var(--gold); font-size: 22px; }

/* ---------- Projetos ---------- */
.frame { position: relative; overflow: hidden; background: var(--navy-800); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  /* cantoneiras de visor de câmera */
  content: ''; position: absolute; inset: 14px; pointer-events: none;
  background:
    linear-gradient(var(--gold), var(--gold)) top left / 18px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top left / 1.5px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 18px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 1.5px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 18px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 1.5px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 18px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 1.5px 18px no-repeat;
  opacity: .85;
}
.frame__label {
  position: absolute; left: 26px; bottom: 26px; z-index: 1;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(7,17,31,.78); padding: 4px 8px; border-radius: 2px;
}

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-grid--2 { grid-template-columns: 1fr 1fr; margin-top: 24px; }
.case-grid--2 .case .frame { aspect-ratio: 16 / 9; }
.seg-title { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin: 56px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line-light); }
.case {
  background: var(--paper-card); border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; color: var(--ink);
}
.case .frame { aspect-ratio: 4 / 3; }
.case__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.case__loc { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.case h3 { font-size: 21px; }
.case p { color: var(--ink-muted); font-size: 15.5px; flex-grow: 1; }
.case__metric { display: flex; align-items: baseline; gap: 8px; border-top: 1px solid var(--line-light); padding-top: 14px; margin-top: 6px; }
.case__metric b { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.case__metric span { font-size: 14px; color: var(--ink-muted); }
.case .tags { margin-top: 4px; }

/* Destaque grande (página de projetos) */
.case--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.case--wide .frame { aspect-ratio: auto; min-height: 340px; }
.case--wide .case__body { padding: 40px; justify-content: center; }
.case--wide h3 { font-size: 26px; }

/* Lista compacta de projetos (sem foto) */
.case-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-mini { background: var(--paper-card); border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.case-mini h3 { font-size: 18px; }
.case-mini p { color: var(--ink-muted); font-size: 15px; flex-grow: 1; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-bar button {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 3px; border: 1px solid var(--line-light); background: var(--paper-card); color: var(--ink-muted); cursor: pointer;
}
.filter-bar button[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
[data-seg][hidden] { display: none !important; }

/* ---------- Marcas ---------- */
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.partner { background: var(--navy-900); display: flex; align-items: center; justify-content: center; min-height: 100px; padding: 22px; }
.partner img { max-width: 112px; max-height: 38px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .62; transition: opacity .2s; }
.partner:hover img { opacity: 1; }
.partners-note { margin-top: 20px; font-size: 15px; color: var(--muted); }
.partners-note strong { color: var(--text); font-weight: 600; }

/* ---------- Faixa de destaque ---------- */
.band { padding: 64px 0; background: var(--navy-800); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.band__grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.band h2 { font-size: clamp(26px, 3vw, 34px); margin: 14px 0 12px; }
.band p { color: var(--muted); max-width: 660px; }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Quem somos ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.about h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 16px 0 24px; }
.about p { color: var(--muted); margin-bottom: 16px; }
.about strong { color: #fff; font-weight: 600; }
.checks { list-style: none; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; align-self: start; }
.checks li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; background: var(--navy-850); }
.checks .icon { color: var(--gold); margin-top: 2px; }
.checks b { display: block; color: #fff; font-weight: 600; }
.checks span { color: var(--muted); font-size: 15px; }

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; counter-reset: passo; }
.step { background: var(--navy-900); padding: 30px 26px; counter-increment: passo; }
.step::before { content: counter(passo, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 13px; color: var(--gold); letter-spacing: .1em; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }
.light .steps, .light-2 .steps { background: var(--line-light); border-color: var(--line-light); }
.light .step, .light-2 .step { background: var(--paper-card); }
.light .step::before, .light-2 .step::before { color: var(--gold-ink); border-color: var(--line-light); }
.light .step p, .light-2 .step p { color: var(--ink-muted); }

/* ---------- Cartões genéricos ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--navy-850); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 30px; }
.card .icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 18px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card ul.list { list-style: none; display: grid; gap: 8px; margin-top: 4px; }
.card ul.list li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15.5px; }
.card ul.list li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--gold); }
.light .card, .light-2 .card { background: var(--paper-card); border-color: var(--line-light); }
.light .card p, .light .card ul.list li, .light-2 .card p, .light-2 .card ul.list li { color: var(--ink-muted); }
.light .card .icon, .light-2 .card .icon { color: var(--gold-ink); }
.light .card ul.list li::before, .light-2 .card ul.list li::before { background: var(--gold-ink); }

/* Modalidades lado a lado */
.mode { display: flex; flex-direction: column; gap: 14px; }
.mode__tag { align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; border: 1px solid var(--gold); color: var(--gold); }
.light .mode__tag { border-color: var(--gold-ink); color: var(--gold-ink); }
.mode dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; padding: 14px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.mode dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); padding-top: 2px; }
.mode dd { color: var(--ink); }
.mode .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-size: 18px; font-weight: 600;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--gold-ink); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--ink-muted); padding: 0 0 24px; max-width: 780px; }
.faq details p a { color: var(--gold-ink); font-weight: 600; }

/* ---------- Contato / formulário ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.info { display: grid; gap: 22px; }
.info h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; font-weight: 500; }
.info p, .info a { display: block; color: #fff; text-decoration: none; }
.info a:hover { color: var(--gold); }
.map { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); height: 260px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4); }

.form { background: var(--navy-850); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 34px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #C9D4E2; }
.form input, .form select, .form textarea {
  font-size: 16px; font-weight: 400; color: #fff;
  background: var(--navy-950); border: 1px solid #2A4468; border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.form select option { background: var(--navy-850); }
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { margin-top: 22px; width: 100%; }
.form__legal { margin-top: 14px; font-size: 13px; color: var(--dim); text-align: center; }
.form__legal a { color: var(--muted); }
.form__status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); font-size: 15px; }
.form__status[hidden] { display: none; }
.form__status.ok { background: rgba(201,162,74,.12); border: 1px solid rgba(201,162,74,.45); color: var(--gold-soft); }
.form__status.err { background: rgba(220,80,80,.1); border: 1px solid rgba(220,80,80,.4); color: #F2B8B8; }
.hp { position: absolute; left: -9999px; }

/* ---------- Texto corrido (políticas) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-muted); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--gold-ink); font-weight: 600; }
.prose .meta { font-family: var(--mono); font-size: 13px; color: var(--ink-muted); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line-dark); padding: 64px 0 32px; font-size: 15px; }
.fcols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.site-footer h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer p, .site-footer a { color: var(--muted); text-decoration: none; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.flogo { height: 36px; width: auto; margin-bottom: 18px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin: 0; }
.social a:hover { border-color: var(--gold); }
.social .icon { width: 18px; height: 18px; }
.fbottom { border-top: 1px solid var(--line-dark); margin-top: 48px; padding-top: 24px; color: var(--dim); font-size: 13.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.fbottom a { display: inline; margin: 0; color: var(--dim); }

/* ---------- WhatsApp flutuante ---------- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.wa svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Aviso de cookies (LGPD) ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  max-width: 760px; margin: 0 auto;
  background: var(--navy-950); border: 1px solid var(--line-dark); border-top: 2px solid var(--gold);
  border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: 0 12px 32px rgba(0,0,0,.45);
  display: flex; gap: 18px; align-items: center; font-size: 14.5px; color: var(--muted);
}
.consent[hidden] { display: none; }
.consent a { color: var(--gold); }
.consent__btns { display: flex; gap: 8px; flex-shrink: 0; }
.consent .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .hero__grid, .page-hero__grid, .about, .contact, .band__grid { grid-template-columns: 1fr; }
  .hero__grid, .page-hero__grid { gap: 48px; }
  .sol-grid, .case-grid, .case-list, .cards { grid-template-columns: 1fr 1fr; }
  .case--wide { grid-template-columns: 1fr; }
  .case--wide .frame { min-height: 260px; }
  .partners { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .fcols { grid-template-columns: 1fr 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .hero { padding: 64px 0; }
  .page-hero { padding: 48px 0; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px; border-left: 1px solid var(--line-dark); border-top: 1px solid var(--line-dark); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat b { font-size: 30px; }
  .sol-grid, .case-grid, .case-list, .cards, .cards--2, .fgrid, .fcols, .steps { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .form { padding: 24px 20px; }
  .case--wide .case__body { padding: 26px; }
  .offer { grid-template-columns: auto 1fr; }
  .offer .arrow { display: none; }
  .consent { flex-direction: column; align-items: stretch; }
  .consent__btns .btn { flex: 1; }
  .wa { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Link "Saiba mais" nos cartões de soluções */
.sol__more { margin-top: 20px; font-size: 15px; }
