/* BR Ops · site de vendas
   Motivo: a ordem de serviço e o carimbo de status. Base azul-petróleo de uniforme,
   amarelo de alta visibilidade só para carimbo e ação principal. Uma família (Archivo), largura variável. */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113; }

:root {
  --petrol: #14324a;      /* base: uniforme de campo */
  --ink: #0f2233;         /* texto */
  --steel: #5b6b78;       /* texto secundário */
  --line: #d5dee3;        /* fios e bordas */
  --paper: #f3f6f7;       /* fundo frio */
  --white: #ffffff;
  --hivis: #ffc21a;       /* carimbo e ação principal */
  --signal: #1e9e5a;      /* concluída */
  --alert: #c2410c;       /* atrasada */
  --wrap: 1180px;
  --r-sm: 4px; --r-md: 8px;
  --cond: 72%;            /* largura dos títulos */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Archivo", system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--paper); font-stretch: 100%; font-weight: 400; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--hivis); color: var(--ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Tipografia: escala de quarta (≈1.33) */
h1, h2, h3, .display { font-stretch: var(--cond); font-weight: 800; line-height: 1.02; letter-spacing: -0.005em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(44px, 7vw, 84px); }
h2 { font-size: clamp(32px, 4.2vw, 50px); }
h3 { font-size: 24px; line-height: 1.15; }
p { margin: 0 0 1em; }
.lede { font-size: 20px; line-height: 1.55; color: var(--steel); max-width: 34em; }
.small { font-size: 14px; }
.muted { color: var(--steel); }
.num { font-variant-numeric: tabular-nums; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm);
  font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--hivis); color: var(--ink); border-color: var(--hivis); }
.btn-primary:hover { background: #ffcf47; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--petrol); border-color: var(--petrol); }
.btn-ghost:hover { background: var(--petrol); color: var(--white); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Topo */
.top { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--petrol); color: var(--white); border-radius: var(--r-sm);
  font-weight: 800; font-stretch: var(--cond); font-size: 17px; letter-spacing: .02em; }
.logo-word { font-weight: 800; font-stretch: var(--cond); font-size: 24px; }
.logo--light { color: var(--white); } .logo--light .logo-mark { background: var(--hivis); color: var(--ink); }
.nav { display: flex; gap: 22px; margin-right: auto; }
.nav a, .link-quiet { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav a:hover, .link-quiet:hover { text-decoration: underline; }
.top-actions { display: flex; align-items: center; gap: 16px; }
@media (max-width: 900px) { .nav { display: none; } .top-actions { margin-left: auto; } }

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding: 72px 24px 80px; }
.hero h1 { max-width: 9.5em; }
.hero .lede { margin: 24px 0 32px; }
.hero-note { margin-top: 14px; font-size: 15px; color: var(--steel); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; padding-top: 48px; gap: 40px; } }

/* A OS do topo */
.ticket { position: relative; background: var(--paper); border: 1px solid var(--line); border-top: 8px solid var(--petrol); border-radius: var(--r-sm);
  padding: 22px 24px 20px; font-size: 15px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(20, 50, 74, .45); max-width: 460px; }
.ticket-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ticket-code { font-stretch: var(--cond); font-weight: 800; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.ticket-title { font-weight: 700; margin: 6px 0 14px; font-size: 17px; }
.ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 14px; }
.ticket dt { color: var(--steel); } .ticket dd { margin: 0; }
.ticket .check { list-style: none; margin: 0 0 14px; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.ticket .check li { display: flex; gap: 10px; align-items: center; }
.ticket .box { width: 18px; height: 18px; border: 2px solid var(--steel); border-radius: 3px; display: inline-grid; place-items: center; flex: none; }
.ticket .box::after { content: ""; width: 9px; height: 5px; border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.ticket li.done .box { background: var(--signal); border-color: var(--signal); }
.ticket li.done .box::after { opacity: 1; }
.ticket-sign { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.ticket-sign svg { width: 170px; height: 46px; }
.ticket-sign path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 0; }
.ticket.is-animating .ticket-sign path { stroke-dashoffset: 420; }
.ticket.is-animating.is-signed .ticket-sign path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s ease-out; }

/* Carimbo */
.stamp { display: inline-block; font-stretch: 85%; font-weight: 800; font-size: 14px; letter-spacing: .03em; padding: 6px 10px 5px; border: 2.5px solid currentColor;
  border-radius: var(--r-sm); transform: rotate(-4deg); color: var(--petrol); background: rgba(255,255,255,.6); white-space: nowrap; }
.stamp--open { color: var(--steel); }
.stamp--route { color: #9a6700; background: #fff4cc; border-color: #c99700; }
.stamp--work { color: var(--petrol); background: #e6eef3; }
.stamp--done { color: var(--signal); background: #e3f5ea; }
.stamp.is-hit { animation: hit .32s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes hit { from { transform: rotate(-4deg) scale(1.6); opacity: 0; } to { transform: rotate(-4deg) scale(1); opacity: 1; } }

/* Seções */
.band { padding: 96px 0; }
.band--white { background: var(--white); }
.band--petrol { background: var(--petrol); color: #dce7ee; }
.band--petrol h2, .band--petrol h3 { color: var(--white); }
.band--petrol a { color: var(--hivis); }
.band-head { max-width: 46em; margin-bottom: 48px; }
.band-head p { margin-top: 16px; font-size: 19px; color: var(--steel); }
.band--petrol .band-head p { color: #b9cad6; }

/* O caminho da OS: sequência real, por isso numerada */
.path { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; gap: 0 16px; padding: 0 0 26px; position: relative; }
.steps li::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; border: 2px solid var(--petrol); border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-stretch: var(--cond); font-size: 20px; background: var(--white); position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.steps h3 { font-size: 22px; margin: 6px 0 6px; }
.steps p { color: var(--steel); margin: 0; }
.steps li:last-child::before { background: var(--signal); border-color: var(--signal); color: var(--white); }
.shot { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); box-shadow: 0 24px 50px -30px rgba(15, 34, 51, .45); }
.shot figcaption { font-size: 14px; color: var(--steel); padding: 10px 14px; border-top: 1px solid var(--line); background: var(--white); }
.path .shot { position: sticky; top: 96px; }
@media (max-width: 960px) { .path { grid-template-columns: 1fr; } .path .shot { position: static; } }

/* Para quem: lista em duas colunas, sem cartões */
.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 2px solid var(--ink); }
.who > div { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.who h3 { font-size: 26px; margin-bottom: 8px; }
.who p { color: var(--steel); margin: 0; max-width: 32em; }
@media (max-width: 760px) { .who { grid-template-columns: 1fr; } }

/* Contratos públicos */
.gov { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.gov-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.gov-list h3 { font-size: 22px; margin-bottom: 6px; }
.gov-list p { margin: 0; color: #b9cad6; }
.phone { border: 10px solid #0b1c29; border-radius: 30px; overflow: hidden; background: #0b1c29; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.phone img { border-radius: 20px; }
.gov .phone-cap { font-size: 14px; color: #b9cad6; margin-top: 12px; }
@media (max-width: 960px) { .gov { grid-template-columns: 1fr; } .gov .phone-wrap { max-width: 280px; } .gov-list { grid-template-columns: 1fr; } }

/* Recursos */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.feat h3 { font-size: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 14px; }
.feat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feat li { padding-left: 18px; position: relative; }
.feat li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--hivis); border: 1.5px solid #b98a00; transform: rotate(45deg); }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } }

/* Planos: tabela por número de técnicos */
.pricing { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.pricing th, .pricing td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pricing thead th { font-size: 15px; font-weight: 600; color: var(--steel); background: var(--paper); }
.pricing .p-name { font-stretch: var(--cond); font-weight: 800; font-size: 26px; line-height: 1.1; display: block; }
.pricing .p-desc { color: var(--steel); font-size: 15px; }
.pricing .p-price { font-stretch: var(--cond); font-weight: 800; font-size: 30px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pricing .p-price small { font-size: 15px; font-weight: 500; font-stretch: 100%; color: var(--steel); }
.pricing tr.is-featured { background: #fffbea; }
.pricing tr.is-featured td:first-child { box-shadow: inset 6px 0 0 var(--hivis); }
.pricing .tag { display: inline-block; font-size: 13px; font-weight: 700; background: var(--hivis); color: var(--ink); padding: 2px 8px; border-radius: 3px; margin-left: 6px; vertical-align: middle; }
.pricing td:last-child { text-align: right; }
.pricing-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; color: var(--steel); font-size: 15px; }
.pricing-notes strong { color: var(--ink); display: block; }
@media (max-width: 820px) {
  .pricing thead { display: none; }
  .pricing tr { display: grid; grid-template-columns: 1fr auto; padding: 16px; border-bottom: 1px solid var(--line); gap: 6px 12px; }
  .pricing td { border: 0; padding: 0; }
  .pricing td.c-tech, .pricing td.c-branch { grid-column: 1; font-size: 15px; color: var(--steel); }
  .pricing td.c-price { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
  .pricing td:last-child { grid-column: 1 / -1; text-align: left; margin-top: 8px; }
  .pricing-notes { grid-template-columns: 1fr; }
}

/* Perguntas */
.faq { max-width: 52em; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 28px; font-weight: 400; color: var(--steel); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--steel); margin: 0 0 20px; max-width: 44em; }

/* Chamada final */
.final { background: var(--hivis); padding: 80px 0; }
.final h2 { max-width: 14em; }
.final p { font-size: 19px; margin: 16px 0 28px; max-width: 34em; }
.final .btn-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.final .btn-primary:hover { background: var(--petrol); }
.final .btn-ghost { border-color: var(--ink); color: var(--ink); }
.final .btn-ghost:hover { background: var(--ink); color: var(--white); }

/* Formulários do site */
.page { padding: 64px 0 96px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 64px; align-items: start; }
@media (max-width: 960px) { .page-grid { grid-template-columns: 1fr; gap: 40px; } }
.form { background: var(--white); border: 1px solid var(--line); border-top: 8px solid var(--petrol); border-radius: var(--r-sm); padding: 28px; display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 17px; padding: 11px 12px; border: 1.5px solid #b8c6cf; border-radius: var(--r-sm); background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--petrol); outline: 3px solid rgba(255, 194, 26, .55); outline-offset: 0; }
.field .hint { font-size: 14px; color: var(--steel); margin-top: 4px; }
.field .err, .form-error { color: #b42318; font-size: 14px; margin-top: 4px; }
.form-error { background: #fdecea; padding: 10px 12px; border-radius: var(--r-sm); margin: 0; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check-line input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--petrol); }
.hp { position: absolute; left: -5000px; }
.side-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.side-list li { padding-left: 34px; position: relative; }
.side-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--signal); }
.side-list li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(-45deg); }
.prose { max-width: 46em; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; }
.prose h2 { font-size: 28px; margin: 36px 0 10px; }
.prose p, .prose li { color: #2d3f4d; }

/* Rodapé */
.foot { background: var(--ink); color: #b9cad6; padding: 56px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: 15px; font-stretch: 100%; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.foot nav a { display: block; color: #b9cad6; text-decoration: none; padding: 3px 0; }
.foot nav a:hover { color: var(--white); text-decoration: underline; }
.foot-claim { margin-top: 12px; max-width: 18em; }
.foot-legal { border-top: 1px solid #23394b; margin-top: 40px; padding-top: 20px; font-size: 14px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; background: #1f8f4e; color: var(--white);
  text-decoration: none; font-weight: 700; padding: 12px 16px; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.wa-float:hover { background: #18773f; color: var(--white); }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 13px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stamp.is-hit { animation: none; }
  .ticket .ticket-sign path { stroke-dashoffset: 0 !important; transition: none !important; }
}
