/* ═══════════════════════════════════════
   BASE — Design tokens, reset, utilities
   Contract: CSS custom properties are the
   shared interface between all modules.
═══════════════════════════════════════ */

:root {
  /* Horizonte de Viagem — tokens de marca */
  --horizon-deep:   #0f2a52;
  --horizon-blue:   #1f4c94;
  --horizon-blue-d: #163a73;
  --horizon-coral:  #ff9d5c;
  --horizon-glow:   #ff7f00;
  --horizon-glow-d: #e06f00;

  /* Aliases — mantidos com os nomes antigos para que css/footer.css
     (não tocado neste redesign) continue funcionando sem alteração */
  --dark:    var(--horizon-deep);
  --blue:    var(--horizon-blue);
  --blue-d:  var(--horizon-blue-d);
  --orange:  var(--horizon-glow);
  --orange-d: var(--horizon-glow-d);

  /* Neutros */
  --white:  #ffffff;
  --cloud:  #f7f9fc;
  --ink:    #14213d;
  --muted:  #666677;
  --border: #e8e8e8;

  /* Tipografia */
  --ff-serif: 'Fraunces', Georgia, serif;
  --ff-sans:  'Plus Jakarta Sans', system-ui, sans-serif;

  /* Layout */
  --max: 1100px;
  --pad: 24px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-med:  0.6s;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
button { font-family: var(--ff-sans); cursor: pointer; }

/* Container */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section { padding: 72px 0; }

/* Typography helpers */
.serif    { font-family: var(--ff-serif); }
.overline {
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--horizon-glow); display: block; margin-bottom: 14px;
}

/* Buttons — pill sólido com gradiente (aprovado via companion visual) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 34px; border: none; border-radius: 999px;
  font-family: var(--ff-sans); font-size: 14px; font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
  white-space: nowrap;
}
.btn-orange {
  background: linear-gradient(135deg, var(--horizon-glow), var(--horizon-coral));
  color: var(--white);
  box-shadow: 0 6px 16px rgba(255,127,0,.25);
}
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255,127,0,.4); }
.btn-outline-b {
  background-image: linear-gradient(var(--white), var(--white)),
                     linear-gradient(135deg, var(--horizon-blue), var(--horizon-glow));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: var(--horizon-blue);
  border: 2px solid transparent;
}
.btn-outline-b:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(31,76,148,.2); }

/* Barra de progresso de scroll (topo da página) */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--horizon-blue), var(--horizon-glow));
  z-index: 200;
  transition: width .1s linear;
}
