/* ───────────────────────────────────────────────
   Ontime LPs — visual novo (maquete 16/11/2026)
   Compartilhado. Cores: #1A1A1C, #C8102E, #F3F2EF.
   Títulos e números: Barlow Condensed. Texto: Inter.
─────────────────────────────────────────────── */

:root {
  --ink:        #1A1A1C;
  --ink-header: #111113;
  --red:        #C8102E;
  --red-dark:   #A50D26;
  --off:        #F3F2EF;
  --white:      #FFFFFF;
  --line-dark:  #3A3A3F;
  --line-light: #D6D4CE;
  --line-soft:  #E2E0DA;
  --txt-dark:   #C9C9CE;   /* texto sobre fundo escuro */
  --txt-light:  #4A4A50;   /* texto sobre fundo claro */
  --txt-mute:   #55555B;
  --cond:       'Barlow Condensed', sans-serif;
  --body:       'Inter', system-ui, sans-serif;
  --max:        1200px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; letter-spacing: -0.01em; line-height: 1.05; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: block;
  font-family: var(--cond); font-weight: 600; font-size: 17px;
  letter-spacing: 0.14em; color: var(--white); text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 28px; height: 4px; background: var(--red); display: inline-block; vertical-align: middle; margin-right: 12px; }
.eyebrow.on-light { color: var(--red); }
.eyebrow.on-light::before { background: var(--red); }

/* ─── Botões ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  font-family: var(--body); font-weight: 700; font-size: 17px;
  cursor: pointer; border: 2px solid transparent; transition: background .2s, transform .15s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ─── Barra de topo ─── */
.topbar { background: var(--ink-header); border-bottom: 3px solid var(--red); }
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 24px; }
.brand-logo { height: 38px; width: auto; display: block; }
.topbar-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.topbar-alert { font-family: var(--cond); font-weight: 600; font-size: 16px; letter-spacing: 0.12em; color: var(--txt-dark); text-transform: uppercase; }
.topbar-tel { font-family: var(--cond); font-weight: 700; font-size: 26px; letter-spacing: 0.02em; color: #fff; }
.topbar-tel-icon { display: none; align-items: center; justify-content: center; color: #fff; width: 40px; height: 40px; }
.topbar-tel-icon svg { width: 24px; height: 24px; }

/* ─── Hero ─── */
.hero { background: var(--ink); }
.hero-in { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding: 56px 24px 64px; }
.hero-col { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-weight: 700; font-size: clamp(34px, 4.4vw, 60px); color: #fff; }
.hero-sub { max-width: 560px; font-size: 19px; line-height: 1.55; color: var(--txt-dark); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.seals { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.seal { background: var(--ink); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.seal small { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; color: var(--txt-dark); text-transform: uppercase; }
.seal b { font-family: var(--cond); font-weight: 700; font-size: 25px; line-height: 1.1; color: #fff; }

.hero-aside { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hero-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ─── Ficha técnica ─── */
.spec { background: var(--off); color: var(--ink); border-top: 4px solid var(--red); }
.spec-head { padding: 14px 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line-light); }
.spec-head b { font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: 0.1em; }
.spec-head span { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; color: var(--red); }
.spec-row { padding: 10px 20px; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
.spec-row:last-of-type { border-bottom: 1px solid var(--line-light); }
.spec-row .k { font-weight: 600; }
.spec-row .v { font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: 0.04em; text-align: right; }
.spec-foot { padding: 14px 20px; font-size: 15px; line-height: 1.5; color: var(--txt-light); }
.spec-foot a { color: var(--red); font-weight: 700; }

/* ─── Blocos de seção ─── */
.sec { padding: 72px 0; }
.sec-dark { background: var(--ink); }
.sec-off  { background: var(--off); color: var(--ink); }
.sec-white { background: var(--white); color: var(--ink); }
.sec-head { max-width: 720px; margin: 0 auto 40px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.sec-dark .sec-head h2 { color: #fff; }
.sec-dark .sec-head p { color: var(--txt-dark); }
.sec-off .sec-head p, .sec-white .sec-head p { color: var(--txt-light); }
.sec-head p { font-size: 18px; line-height: 1.55; max-width: 640px; }

/* ─── Números ─── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.stat { background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.stat b { font-family: var(--cond); font-weight: 700; font-size: 48px; line-height: 1; color: var(--ink); }
.stat span { font-size: 16px; line-height: 1.4; color: var(--txt-light); }
.src { margin-top: 16px; font-size: 14px; color: var(--txt-mute); }

/* ─── Faixa vermelha ─── */
.band { background: var(--red); }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 24px; }
.band-txt { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.band .eyebrow, .band .eyebrow::before { color: #fff; }
.band .eyebrow::before { background: #fff; }
.band h2 { font-size: clamp(28px, 3vw, 40px); color: #fff; }
.band p { max-width: 640px; font-size: 18px; line-height: 1.55; color: #fff; }

/* ─── Clientes ─── */
.clients-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 36px 24px; align-items: center; justify-items: center; max-width: 1000px; margin: 0 auto; }
.client-logo { display: block; max-width: 100%; height: auto; }
/* Cor dos logos: trocar para colorido é só remover .is-mono do bloco. */
.clients-grid.is-mono .client-logo { filter: grayscale(1); opacity: .75; }
@media (max-width: 600px) { .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; } }

/* ─── Custo de parar ─── */
.cost-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 8px; }
.cost-card { background: #fff; border: 1px solid var(--line-light); border-top: 3px solid var(--red); padding: 24px; }
.cost-card b { display: block; font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.cost-card p { font-size: 16px; line-height: 1.55; color: var(--txt-light); }
.cost-lead { font-size: 18px; line-height: 1.6; color: var(--txt-light); text-align: center; max-width: 760px; margin: 0 auto; }

/* ─── Abas de defeitos ─── */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.tab-btn {
  font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: 0.04em;
  padding: 10px 18px; background: #fff; border: 1px solid var(--line-light); color: var(--txt-light);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.tab-btn:hover { border-color: var(--red); color: var(--red); }
.tab-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-card { background: #fff; border: 1px solid var(--line-light); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tab-card h3 { font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.tab-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tab-card li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.5; color: var(--txt-light); }
.tab-card li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--red); }
.codes small { display: block; font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; color: var(--red); text-transform: uppercase; margin-bottom: 10px; }
.codes .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; padding: 6px 12px; background: var(--off); border: 1px solid var(--line-light); color: var(--ink); }
/* Abas sem códigos (LPs de marca): lista de defeitos em uma coluna */
.tab-card--list { grid-template-columns: 1fr; }
.defeito { padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.defeito:last-child { border-bottom: none; }
.defeito b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 3px; }
.defeito span { font-size: 15px; line-height: 1.5; color: var(--txt-light); }
/* Bloco de destaque (ex.: "Como o seu relé é testado", soft starters) */
.nota { background: #fff; border: 1px solid var(--line-light); border-left: 4px solid var(--red); padding: 22px 24px; margin-top: 24px; }
.nota b { display: block; font-family: var(--cond); font-weight: 700; font-size: 20px; letter-spacing: 0.01em; color: var(--ink); margin-bottom: 8px; }
.nota p { font-size: 16px; line-height: 1.6; color: var(--txt-light); }

/* ─── Carrossel ─── */
.carousel { position: relative; max-width: 900px; margin: 0 auto; }
.slides { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px; background: linear-gradient(transparent, rgba(17,17,19,.85)); color: #fff; font-size: 15px; }
.car-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border: none; background: rgba(17,17,19,.6); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.car-arrow:hover { background: var(--red); }
.car-prev { left: 10px; } .car-next { right: 10px; }
.car-arrow svg { width: 22px; height: 22px; }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.car-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--line-light); cursor: pointer; padding: 0; }
.car-dot.is-active { background: var(--red); }

/* ─── O que você recebe ─── */
.recebe { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.recebe-col { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.recebe-list { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line-light); }
.recebe-list li { padding: 16px 0; border-bottom: 1px solid var(--line-light); display: flex; gap: 16px; }
.recebe-list .n { font-family: var(--cond); font-weight: 700; font-size: 18px; color: var(--red); min-width: 28px; }
.recebe-list strong { font-size: 17px; color: var(--ink); display: block; margin-bottom: 2px; }
.recebe-list span { font-size: 16px; line-height: 1.5; color: var(--txt-light); }

/* ─── Processo ─── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.step { background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step .num { font-family: var(--cond); font-weight: 700; font-size: 34px; color: var(--red); line-height: 1; }
.step b { font-size: 17px; color: var(--ink); }
.step p { font-size: 15px; line-height: 1.5; color: var(--txt-light); }
.step .prazo { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; color: var(--red); text-transform: uppercase; margin-top: auto; }

/* ─── Depoimentos ─── */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.quote { background: #fff; border: 1px solid var(--line-light); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.quote .stars { color: var(--red); font-size: 18px; letter-spacing: 2px; }
.quote p { font-size: 17px; line-height: 1.6; color: var(--ink); }
.quote .who { font-size: 14px; color: var(--txt-mute); }
.quote.score { background: var(--ink); color: #fff; align-items: flex-start; justify-content: center; }
.quote.score b { font-family: var(--cond); font-weight: 700; font-size: 56px; line-height: 1; }
.quote.score span { color: var(--txt-dark); }

/* ─── FAQ ─── */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--cond); font-weight: 600; font-size: 20px; color: var(--ink); }
.faq-q .ico { flex-shrink: 0; color: var(--red); transition: transform .3s; font-size: 24px; line-height: 1; }
.faq-item.active .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--txt-light); }

/* ─── CTA final ─── */
.cta { background: var(--ink); text-align: center; }
.cta-big { font-family: var(--cond); font-weight: 700; font-size: clamp(32px, 4vw, 52px); color: var(--red); line-height: 1.05; }
.cta h2 { font-size: clamp(28px, 3.2vw, 42px); color: #fff; margin-top: 8px; }
.cta p { font-size: 18px; color: var(--txt-dark); margin-top: 14px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.cta-seals { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 24px; font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.1em; color: var(--txt-dark); text-transform: uppercase; }

/* ─── Formulário ─── */
.formsec { background: var(--off); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-text h2 { font-size: clamp(26px, 3vw, 38px); color: var(--ink); margin-bottom: 12px; }
.form-text p { font-size: 17px; color: var(--txt-light); margin-bottom: 20px; }
.form-card { background: #fff; border: 1px solid var(--line-light); border-top: 4px solid var(--red); padding: 28px; }
.form-after { margin-top: 14px; font-size: 15px; color: var(--txt-light); }
.form-after a { color: var(--red); font-weight: 700; }
.rd-hint { font-size: 13px; line-height: 1.45; color: #8A8A90; margin: -6px 0 14px; }
.rd-hint--above { margin: 0 0 14px; }

/* ─── Skin do formulário RD Station (combina com o visual novo) ─── */
.form-card label { color: var(--ink) !important; font-family: var(--body) !important; }
.form-card input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.form-card select,
.form-card textarea {
  width: 100%; border: 1px solid var(--line-light); border-radius: 0 !important;
  background: var(--off) !important; padding: 12px 14px; font-family: var(--body);
  font-size: 1rem; color: var(--ink); outline: none; box-shadow: none !important;
  -webkit-appearance: none; appearance: none;
}
.form-card select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A1A1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.form-card textarea { min-height: 110px; resize: vertical; }
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus { border-color: var(--red); box-shadow: none !important; }
.form-card input::placeholder,
.form-card textarea::placeholder { color: #9A9AA0; }
.form-card [class*="field"] { margin-bottom: 14px; }
.form-card button,
.form-card input[type="submit"],
.form-card input[type="button"],
.form-card [type="submit"],
.form-card .bricks-form__button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; background: var(--red) !important; color: #fff !important;
  border: none !important; border-radius: 0 !important; box-shadow: none !important;
  font-family: var(--cond) !important; font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.03em; text-transform: uppercase; padding: 15px 24px;
  cursor: pointer; transition: background 0.2s;
}
.form-card button:hover,
.form-card [type="submit"]:hover,
.form-card .bricks-form__button:hover { background: var(--red-dark) !important; box-shadow: none !important; }

/* ─── Rodapé ─── */
.foot { background: var(--ink-header); color: var(--txt-dark); padding: 48px 0 32px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot-logo { height: 38px; width: auto; display: block; margin-bottom: 14px; }
.foot b.name { color: #fff; font-family: var(--cond); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; }
.foot p { font-size: 14px; line-height: 1.6; margin-top: 6px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-links a:hover { color: #fff; }
.foot-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--txt-mute); }
.foot-legal a { color: var(--txt-dark); text-decoration: underline; }

/* ─── WhatsApp flutuante ─── */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.wa-float svg { width: 26px; height: 26px; }

/* ─── Responsivo ─── */
@media (max-width: 820px) {
  .tab-card { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 32px; }
  .sec { padding: 56px 0; }
}
/* Cabeçalho compacto no celular: uma linha só (logo à esquerda; à direita
   ícone de telefone + botão WhatsApp pequeno). */
@media (max-width: 600px) {
  .topbar-in { flex-wrap: nowrap; padding: 12px 20px; gap: 12px; }
  .topbar-cta { flex-wrap: nowrap; gap: 10px 12px; }
  .topbar-tel { display: none; }
  .topbar-tel-icon { display: inline-flex; }
}
@media (max-width: 480px) {
  .topbar-alert { display: none; }
}
@media (max-width: 520px) {
  .hero-in { padding: 36px 20px 44px; gap: 32px; }
  .wrap { padding: 0 20px; }
  .brand-logo { height: 32px; }
}
