/* ==========================================================================
   Consórcio Canopus Gasparin — Folha de estilo compartilhada
   Paleta azul corporativa
   ========================================================================== */

:root {
  --navy-900: #163a72;
  --navy-800: #1d4788;
  --navy-700: #275aa0;
  --blue-600: #2f66b5;
  --blue-500: #3f77c6;
  --blue-400: #6b9bd8;
  --sky-200: #d3e2f6;
  --sky-100: #eef4fc;
  --gold: #f5b301;
  --gold-dark: #d99a00;
  --ink: #172540;
  --muted: #5c6a80;
  --line: #e2eaf5;
  --bg: #ffffff;
  --bg-soft: #f4f8fd;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(10, 31, 68, .08), 0 1px 2px rgba(10, 31, 68, .06);
  --shadow-md: 0 10px 30px rgba(10, 31, 68, .12);
  --shadow-lg: 0 24px 60px rgba(10, 31, 68, .22);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-600); text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy-900); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--gold); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section--navy .lead { color: var(--sky-200); }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--blue-600);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gold { --btn-bg: var(--blue-600); --btn-fg: #fff; }
.btn--gold:hover { background: var(--navy-700); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--navy-800); }
.btn--white:hover { background: var(--sky-100); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.6); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--blue-600); border-color: var(--blue-600); box-shadow: none; }
.btn--outline:hover { background: var(--blue-600); color: #fff; }
.btn--lg { padding: 17px 36px; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 58px; width: auto; display: block; border-radius: 10px; }
.site-footer .brand__logo { height: 66px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blue-500), var(--navy-800));
  color: #fff; font-weight: 800; font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
}
.brand__name { font-weight: 800; color: var(--navy-900); line-height: 1.05; font-size: 1.02rem; }
.brand__name span { display: block; font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-500); }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 9px 14px; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: .95rem;
  transition: background .15s, color .15s;
}
.nav__links a:hover { background: var(--sky-100); color: var(--blue-600); }
.nav__links a.is-active { color: var(--blue-600); background: var(--sky-100); }
.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav__toggle span { width: 22px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 130%);
  color: #fff; overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(4px);
  background: radial-gradient(circle at center, rgba(107,155,216,.45), transparent 62%);
}
.hero::before { width: 620px; height: 620px; top: -220px; right: -140px; }
.hero::after { width: 460px; height: 460px; bottom: -240px; left: -160px; background: radial-gradient(circle at center, rgba(63,119,198,.4), transparent 60%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: clamp(60px, 9vw, 120px) 0; }
.hero h1 { color: #fff; }
.hero .lead { color: var(--sky-200); font-size: 1.22rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px; padding: 30px; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.stat { }
.stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--gold); font-weight: 800; }
.stat span { font-size: .9rem; color: var(--sky-200); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--sky-200); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sky-100); color: var(--blue-600); margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }

.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card__media {
  aspect-ratio: 16/10; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--sky-100), #dbe6fb);
  color: var(--blue-600);
}
.product-card__media svg { width: 74px; height: 74px; opacity: .8; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__media--contain { background: #fff; }
.product-card__media--contain img { object-fit: contain; padding: 10px; }
.product-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__body h3 { margin: 0; }
.product-card__body .tag { font-size: .78rem; color: var(--blue-500); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.product-card__body .btn { margin-top: auto; align-self: flex-start; }

.badge-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.badge-list li { display: flex; gap: 12px; align-items: flex-start; }
.badge-list .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; margin-top: 2px;
}
.badge-list .tick svg { width: 14px; height: 14px; }

/* ---------- Catálogo: bloco de modelo ---------- */
.model-block { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.model-block + .model-block { margin-top: clamp(46px, 7vw, 88px); padding-top: clamp(46px, 7vw, 88px); border-top: 1px solid var(--line); }
.model-block__media { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.model-block__media img { width: 100%; height: auto; display: block; border-radius: 8px; }
.model-block__title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.model-block__title h3 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.model-block .tagline { color: var(--blue-600); font-weight: 600; margin: 0 0 4px; }
.model-versions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.spec-table { list-style: none; margin: 18px 0 24px; padding: 0; border-top: 2px solid var(--sky-200); }
.spec-table li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-table li .k { color: var(--muted); }
.spec-table li .v { font-weight: 700; color: var(--navy-800); text-align: right; }
.model-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .model-block { grid-template-columns: 1fr; }
  .model-block--rev .model-block__media { order: -1; }
}

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .92rem; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.section--navy .chip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }

/* section heading */
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--navy-800); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--sky-100);
}
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 6px 0 20px; }
.consent input { margin-top: 3px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-600), var(--navy-800));
  color: #fff; border-radius: 26px; padding: clamp(34px, 5vw, 60px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: var(--sky-200); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #cdd8ee; padding: 64px 0 28px; }
.site-footer a { color: #cdd8ee; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .brand__name, .footer-brand .brand__name span { color: #fff; }
.footer-brand p { color: #9fb1d4; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .15s; }
.social a:hover { background: var(--blue-600); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: .85rem; color: #8ea3ca; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Utility ---------- */
.stack-sm > * + * { margin-top: 10px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hide-mobile { }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { order: -1; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__links a { padding: 12px 14px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
