/* ==========================================================
   JCRSmart — site oficial
   Tokens
   ========================================================== */
:root {
  --navy: #0e1b33;
  --navy-2: #182a4d;
  --navy-3: #22365e;
  --ink: #121a2b;
  --text: #2a3447;
  --muted: #5e6a80;
  --line: #d9dee7;
  --paper: #eef1f5;
  --white: #ffffff;
  --orange: #f27a1a;
  --orange-deep: #cf6410;
  --steel: #2f6fb5;
  --ok: #1f9d55;

  /* identidade JCRSmart (logo) */
  --brand-bg: #1e1f23;
  --brand-green: #30b88e;
  --brand-white: #eeeadd;

  --font: "Archivo", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  font-variation-settings: "wdth" 100;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-variation-settings: "wdth" 108; line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-variation-settings: "wdth" 108; }
h3 { font-size: 1.35rem; font-variation-settings: "wdth" 104; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  padding: 0.85em 1.5em;
  border-radius: var(--radius);
  border: 2px solid var(--orange);
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--small { padding: 0.55em 1.1em; font-size: 0.95rem; }

/* Section heads */
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: 0.4em; }
.section-head p { font-size: 1.12rem; color: var(--muted); }
.section-head--light h2 { color: var(--white); }
.section-head--light p { color: #b9c4d8; }

/* ==========================================================
   Topbar
   ========================================================== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand-bg);
  color: var(--brand-white);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }

.brand { display: inline-grid; grid-template-columns: auto auto; column-gap: 4px; align-items: baseline; text-decoration: none; color: var(--brand-white); font-weight: 800; line-height: 1; }
.brand__slash { color: var(--brand-green); font-size: 1.5rem; font-style: italic; font-variation-settings: "wdth" 75; }
.brand__name { font-size: 1.35rem; letter-spacing: 0.01em; font-style: italic; font-variation-settings: "wdth" 112; }
.brand__tag { grid-column: 2; color: var(--brand-green); font-weight: 600; font-style: normal; font-size: 0.66rem; margin-top: 5px; letter-spacing: 0.01em; font-variation-settings: "wdth" 100; }

.menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.menu a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--brand-white); padding: 6px 0; border-bottom: 2px solid transparent; }
.menu a:not(.btn):hover { border-bottom-color: var(--brand-green); color: #fff; }

.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--brand-white); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--brand-bg); border-bottom: 1px solid #33363c;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px;
  }
  .menu.is-open { display: flex; }
  .menu a:not(.btn) { padding: 12px 0; border-bottom: 1px solid #33363c; }
  .menu .btn { margin-top: 12px; text-align: center; }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero { background: var(--white); padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 58%; background: var(--paper); z-index: 0;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__kicker { color: var(--orange-deep); font-weight: 700; margin-bottom: 1.2em; font-size: 0.95rem; }
.hero h1 { margin-bottom: 0.5em; max-width: 14ch; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 48ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 420px; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 0.98rem; }
.hero__facts strong { color: var(--ink); font-weight: 800; font-variation-settings: "wdth" 108; }

.hero__media { margin: 0; }
.hero__media img { border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(14,27,51,.45); }
.hero__media figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero::before { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero h1 { max-width: none; }
}

/* ==========================================================
   Problema
   ========================================================== */
.problema { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.problema .cols-3 > div { border-left: 3px solid var(--orange); padding-left: 20px; }
.problema h3 { margin-bottom: 0.5em; }
.problema p { color: var(--muted); }
@media (max-width: 860px) { .cols-3 { grid-template-columns: 1fr; } }

/* ==========================================================
   Circuito (rota)
   ========================================================== */
.circuito { background: var(--navy); color: #dbe2ee; padding: clamp(56px, 8vw, 110px) 0; }

.rota { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 56px); padding-top: 84px; }
.rota__linha { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 60px; color: var(--orange); opacity: .9; }

.parada { position: relative; }
.parada__ponto {
  position: absolute; top: -78px; left: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); border: 4px solid var(--orange); color: var(--white);
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
}
.parada h3 { color: var(--white); margin-bottom: 0.2em; font-size: 1.5rem; }
.parada h3 small { display: block; font-size: 0.85rem; font-weight: 500; color: #9fb0cc; margin-top: 4px; font-variation-settings: "wdth" 100; }
.parada__produto { color: var(--orange); font-weight: 800; font-size: 1.05rem; margin: 10px 0 8px; font-variation-settings: "wdth" 106; }
.parada p:not(.parada__produto) { color: #b9c4d8; }

.rota__retorno {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--navy-3); background: var(--navy-2); border-radius: var(--radius);
  padding: 18px 22px; max-width: 760px;
}
.rota__retorno-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; }
.rota__retorno p { color: #dbe2ee; }
.rota__retorno strong { color: var(--white); }

@media (max-width: 860px) {
  .rota { grid-template-columns: 1fr; gap: 40px; padding-top: 0; margin-left: 22px; padding-left: 26px; border-left: 4px dashed var(--orange); }
  .rota__linha { display: none; }
  .parada__ponto { top: -4px; left: -52px; }
}

/* ==========================================================
   Produtos
   ========================================================== */
.produtos { padding: clamp(56px, 8vw, 110px) 0; background: var(--white); }

.produto {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line);
}
.produto--inv .produto__media { order: 2; }
.produto__media { margin: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.produto__media img { width: 100%; }
.produto__media--tall { display: grid; place-items: center; padding: 20px; }
.produto__media--tall img { max-height: 540px; width: auto; border-radius: 4px; }
.produto__media--screen { background: var(--navy); padding: 18px; }
.produto__media--screen img { border-radius: 4px; }

.produto__papel { color: var(--orange-deep); font-weight: 700; margin-bottom: 0.4em; font-size: 0.95rem; }
.produto h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 0.5em; }
.produto__text > p:not(.produto__papel) { color: var(--muted); }

.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px;
  border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg);
}
.checks strong { color: var(--ink); }

.destaque { display: flex; align-items: baseline; gap: 16px; margin: 20px 0 6px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.destaque__num { font-size: 2.6rem; font-weight: 900; color: var(--orange); line-height: 1; font-variation-settings: "wdth" 110; white-space: nowrap; }
.destaque__txt { color: var(--muted); font-size: 0.98rem; }

.produtos__par { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); padding-top: clamp(36px, 5vw, 64px); }
.produto-card { background: var(--paper); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; }
.produto-card h3 { font-size: 1.6rem; margin-bottom: 0.5em; }
.produto-card > p:not(.produto__papel) { color: var(--muted); }
.produto-card__img { margin-top: auto; padding-top: 20px; border-radius: 4px; max-height: 300px; width: 100%; object-fit: cover; object-position: top; }

.paineis { margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); padding-top: clamp(36px, 5vw, 64px); }
.paineis .section-head { margin-bottom: clamp(20px, 3vw, 32px); }
.paineis__titulo { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.3em; }
.paineis .produtos__par { margin-top: 0; border-top: 0; padding-top: 0; }
.produto-card__img { border: 1px solid var(--line); }

@media (max-width: 860px) {
  .produto { grid-template-columns: 1fr; }
  .produto--inv .produto__media { order: 0; }
  .produtos__par { grid-template-columns: 1fr; }
  .produto__media--tall img { max-height: 420px; }
}

/* ==========================================================
   Especificações
   ========================================================== */
.specs { background: var(--paper); padding: clamp(56px, 8vw, 110px) 0; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 26%; color: var(--ink); font-weight: 800; font-variation-settings: "wdth" 104; }
.spec-table td { color: var(--text); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .spec-table th, .spec-table td { display: block; width: auto; padding: 12px 16px; }
  .spec-table th { padding-bottom: 2px; border-bottom: 0; }
}

/* ==========================================================
   Sobre
   ========================================================== */
.sobre { padding: clamp(56px, 8vw, 110px) 0; }
.sobre__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.sobre__media { margin: 0; }
.sobre__media img { border-radius: var(--radius); }
.sobre h2 { margin-bottom: 0.6em; }
.sobre__text p { color: var(--muted); }
.valores { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.valores li { position: relative; padding-left: 18px; color: var(--ink); font-weight: 600; font-size: 0.98rem; }
.valores li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; background: var(--orange); border-radius: 2px; }
.sobre__marca { display: flex; align-items: center; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.sobre__marca img { width: 170px; flex: 0 0 auto; }
@media (max-width: 860px) { .sobre__grid { grid-template-columns: 1fr; } .valores { grid-template-columns: 1fr; } }

/* ==========================================================
   Clientes / Brasil
   ========================================================== */
.brasil { background: var(--navy); color: #dbe2ee; padding: clamp(56px, 8vw, 110px) 0; }
.brasil__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.brasil h2 { color: var(--white); margin-bottom: 0.6em; }
.brasil__text > p { color: #b9c4d8; font-size: 1.08rem; }
.brasil__fatos { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.brasil__fatos li { display: grid; gap: 2px; padding-left: 18px; border-left: 3px solid var(--orange); }
.brasil__fatos strong { color: var(--white); font-variation-settings: "wdth" 104; }
.brasil__fatos span { color: #9fb0cc; font-size: 0.95rem; }
.brasil__mapa { margin: 0; color: #9fb0cc; }
.brasil__mapa svg { width: 100%; height: auto; display: block; overflow: visible; }
.brasil__rotulo { fill: var(--white); font-family: var(--font); font-size: 15px; font-weight: 700; }
@media (max-width: 860px) { .brasil__grid { grid-template-columns: 1fr; } .brasil__mapa { max-width: 420px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .brasil__sede animate { display: none; } }

/* ==========================================================
   Contato
   ========================================================== */
.contato { background: var(--paper); padding: clamp(56px, 8vw, 110px) 0 0; }
.contato__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(40px, 6vw, 72px); }
.contato h2 { margin-bottom: 0.6em; }
.contato__text > p { color: var(--muted); }
.contato__dados { font-style: normal; display: grid; gap: 10px; margin-top: 28px; font-size: 1.05rem; }
.contato__dados a { color: var(--ink); font-weight: 700; text-decoration: none; }
.contato__dados a:hover { color: var(--orange-deep); }
.contato__dados span { color: var(--muted); }

.form { background: var(--white); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); }
.form__row { margin-bottom: 16px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: var(--ink); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid #b9c1cf; border-radius: 4px; padding: 10px 12px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.form textarea { resize: vertical; }
.form .btn { width: 100%; margin-top: 4px; }
.form__nota { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }
.form__erro { color: #b42318; font-size: 0.9rem; margin-top: 10px; }
@media (max-width: 860px) { .contato__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row--2 { grid-template-columns: 1fr; } }

.mapa { padding-left: 0; padding-right: 0; max-width: none; }
.mapa iframe { display: block; width: 100%; filter: grayscale(.3); }

/* ==========================================================
   Rodapé
   ========================================================== */
.rodape { background: var(--brand-bg); color: #a6a9ad; padding: 40px 0; font-size: 0.92rem; }
.rodape__in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.brand--foot { margin: 0; }
.rodape p { margin: 0; }
@media (max-width: 860px) { .rodape__in { grid-template-columns: 1fr; gap: 12px; } }
