/* ============ Landing page (pública) ============ */
/* Usa as variáveis de paleta definidas em styles.css */

main { flex: 1; }
.section-inner, .hero-inner, .footer-inner, .cta-inner { max-width: 1100px; margin: 0 auto; }

/* CTA no cabeçalho */
.btn-cta-header {
  background: var(--accent); color: #fff; text-decoration: none;
  border-radius: 6px; padding: 9px 16px; font-size: 14px; font-weight: 700;
  white-space: nowrap; transition: background .15s;
}
.btn-cta-header:hover { background: var(--accent-dark); }

/* seletor de idioma (links, não botões) */
.lang-switch a.lang-btn { text-decoration: none; display: inline-block; }

/* Botões da landing */
.btn-primary, .btn-secondary {
  display: inline-block; text-decoration: none; border-radius: 8px;
  padding: 14px 26px; font-size: 16px; font-weight: 700; transition: all .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-secondary:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 16px 34px; font-size: 17px; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(160deg, #0a2540 0%, #0d3358 60%, #0a2540 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,163,224,.28), transparent 70%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  padding: 72px 24px 80px; position: relative; z-index: 1;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700;
  color: var(--accent); margin: 0 0 14px;
}
.hero h1 { font-size: 44px; line-height: 1.12; margin: 0 0 18px; letter-spacing: -.5px; }
.hero .lead { font-size: 18px; line-height: 1.6; color: #cfe0ee; margin: 0 0 26px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-points li { position: relative; padding-left: 26px; font-size: 14px; color: #cfe0ee; }
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  color: var(--accent); font-weight: 800;
}

/* cartão ilustrativo do hero */
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; padding: 22px; backdrop-filter: blur(4px);
  box-shadow: 0 18px 50px rgba(0,0,0,.30);
}
.hc-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.hc-tag { background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 5px; }
.hc-sn { font-size: 12px; color: #9bbcd8; }
.hc-line {
  display: flex; justify-content: space-between; font-size: 14px; color: #e6eef6;
  padding: 11px 0; border-top: 1px solid rgba(255,255,255,.12);
}
.hc-foot {
  margin-top: 16px; background: rgba(0,163,224,.18); border: 1px solid rgba(0,163,224,.45);
  color: #d7f0fb; font-size: 13px; font-weight: 600; text-align: center; padding: 10px; border-radius: 8px;
}

/* ---------- Secções ---------- */
.section { padding: 64px 0; }
.section-inner { padding: 0 24px; }
.section-alt { background: #eef3f8; }
.section-narrow { max-width: 760px; }
.section h2 { font-size: 30px; color: var(--dark); margin: 0 0 10px; letter-spacing: -.3px; }
.section-sub { color: var(--muted); font-size: 16px; margin: 0 0 36px; }

/* passos */
.steps-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none;
}
.steps-grid li {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 26px 22px; box-shadow: var(--shadow); position: relative;
}
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--dark); color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 14px;
}
.steps-grid h3 { margin: 0 0 8px; font-size: 17px; color: var(--dark); }
.steps-grid p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* colunas (equipamentos/marcas/peças) */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.col h3 { font-size: 17px; color: var(--dark); margin: 0 0 14px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; font-size: 14px; color: var(--text);
}
.section-alt .chips li { background: #fff; }

/* vantagens */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; box-shadow: var(--shadow); border-top: 3px solid var(--accent);
}
.feature h3 { margin: 0 0 8px; font-size: 17px; color: var(--dark); }
.feature p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* FAQ */
.faq {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 4px 18px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--dark); font-size: 16px;
  padding: 14px 0; list-style: none; position: relative; padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--accent); font-weight: 400; line-height: 1;
}
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* CTA final */
.cta-final { background: var(--dark); color: #fff; }
.cta-inner { padding: 60px 24px; text-align: center; }
.cta-final h2 { font-size: 30px; margin: 0 0 10px; letter-spacing: -.3px; }
.cta-final p { color: #cfe0ee; font-size: 17px; margin: 0 0 28px; }

/* ---------- Responsivo ---------- */
/* impedir overflow horizontal: itens flex/grid podem encolher e palavras longas quebram */
.hero-copy, .hero-card, .col, .feature, .steps-grid li { min-width: 0; }
.hero h1, .section h2, .cta-final h2, .hero .lead, .faq summary { overflow-wrap: break-word; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 56px 24px 64px; }
  .hero h1 { font-size: 34px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: 1fr; gap: 26px; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .btn-cta-header { padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 560px) {
  /* Esconder CTA "Pedir orçamento" do header só em mobile (PT e EN) — evita confusão */
  .site-header .btn-cta-header { display: none !important; }
  .steps-grid, .features { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section h2, .cta-final h2 { font-size: 24px; }
  .section-sub { font-size: 15px; margin-bottom: 28px; }
  .hero h1 { font-size: 28px; }
  .hero .lead { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { flex: 1; text-align: center; padding: 13px 16px; font-size: 15px; }
  .hero-points { gap: 6px 16px; }
  .cta-inner { padding: 48px 20px; }
  .cta-final p { font-size: 16px; }
}
