/* ============================================================
   Base — reset, tipografia, layout, botões, utilitários
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.62;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--navy-600); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--steel-100); }
::-webkit-scrollbar-thumb { background: var(--steel-300); border-radius: 99px; border: 3px solid var(--steel-100); }
::-webkit-scrollbar-thumb:hover { background: var(--steel-400); }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}
p { text-wrap: pretty; }

.display {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  /* nunca passar de 3 linhas (rede de segurança; o tamanho acima já faz caber) */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 700; }
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--steel-600); font-weight: 400; line-height: 1.6; }

.italic { font-style: italic; }
.grad-orange-text {
  background: var(--grad-orange);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.metal-text {
  background: var(--grad-metal-dark);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding: clamp(72px, 11vw, 150px) 0; }
.section--tight { padding: clamp(56px, 8vw, 100px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange-500);
}
.eyebrow::before {
  content: ""; width: 30px; height: 2px; border-radius: 2px;
  background: var(--grad-orange);
}
.eyebrow--center::after {
  content: ""; width: 30px; height: 2px; border-radius: 2px; background: var(--grad-orange);
}

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 20px; }

/* ---------- Botões ---------- */
.btn {
  --b-bg: var(--navy-800);
  --b-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  padding: 16px 30px;
  font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em;
  color: var(--b-fg);
  background: var(--b-bg);
  border-radius: var(--r-pill);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), color .3s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; transition: transform .4s var(--ease-out); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-navy-soft); opacity: 0;
  transition: opacity .4s var(--ease-out);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--sh-navy); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(-1px); }

.btn--whats { --b-bg: #1faf54; }
.btn--whats::after { background: linear-gradient(135deg,#26c463,#149945); }
.btn--whats:hover { box-shadow: 0 18px 40px -12px rgba(31,175,84,.6); }
.btn--whats:hover svg { transform: scale(1.12) rotate(-6deg); }

.btn--orange { --b-bg: var(--orange-500); }
.btn--orange::after { background: var(--grad-orange); }
.btn--orange:hover { box-shadow: var(--sh-orange); }

.btn--ghost {
  --b-fg: var(--ink);
  background: transparent;
  border: 1.5px solid var(--steel-300);
}
.btn--ghost::after { background: var(--steel-100); }
.btn--ghost:hover { box-shadow: var(--sh-sm); border-color: var(--steel-200); }

.btn--light { --b-bg: #fff; --b-fg: var(--navy-800); box-shadow: var(--sh-sm); }
.btn--light::after { background: var(--steel-100); }

.btn--lg { padding: 19px 38px; font-size: 1.1rem; }
.btn .arrow { transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.linklike {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--navy-600);
  position: relative;
}
.linklike::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 100%;
  background: var(--grad-orange); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.linklike:hover::after { transform: scaleX(1); }
.linklike svg { width: 17px; transition: transform .4s var(--ease-out); }
.linklike:hover svg { transform: translateX(4px); }

/* ---------- Utilitários ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  background: var(--steel-100); color: var(--steel-600);
  border: 1px solid var(--line);
}
.divider-soft { height: 1px; background: var(--line); border: 0; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }

/* Metallic hairline accent */
.metal-rule {
  height: 2px; width: 100%; border: 0;
  background: var(--grad-metal); background-size: 200% auto;
  border-radius: 2px; opacity: .9;
}
