/* ==========================================================
   Target360 · base compartilhada (tokens, cabeçalho, rodapé)
   ========================================================== */

:root {
  --navy-950: #050a18;
  --navy-900: #0a1430;
  --navy-800: #111d3f;
  --navy-700: #1c2a52;
  --orange: #f26b1d;
  --orange-soft: #ff8a45;
  --beige: #f4efe8;
  --beige-2: #ebe4da;
  --ink: #13203f;
  --ink-2: #4a5574;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(19, 32, 63, .12);

  --blue-1: #1c2a52;
  --blue-2: #3b6cb7;
  --blue-3: #7f9ccc;
  --blue-4: #b9c8e2;

  --f-serif: "Fraunces", Georgia, serif;
  --f-sans: "IBM Plex Sans", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  color: #fff;
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

.eyebrow {
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.serif { font-family: var(--f-serif); font-weight: 500; letter-spacing: -.02em; }
.accent { font-style: italic; color: var(--orange); font-weight: 400; }

.tag-ilustrativo {
  display: inline-block;
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange); border: 1px solid currentColor; padding: 5px 10px; border-radius: 2px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-soft); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--whats { background: #1fae5b; color: #fff; }
.btn--whats:hover { background: #25c267; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 17px; }

.link-arrow { color: var(--orange); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================
   CABEÇALHO (vai virar include PHP: inc/header.php)
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(5, 10, 24, .78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-color: var(--line-dark);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.site-header .brand img { height: 28px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 14px; color: rgba(255,255,255,.78); transition: color .2s; position: relative; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: var(--orange); font-weight: 600; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--orange); }
.nav a.is-key[aria-current="page"]::before { display: none; }
.nav a.is-key::before {
  content: ""; position: absolute; left: -10px; top: 50%; width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange); transform: translateY(-50%);
}
.header-cta { min-height: 38px; padding: 0 18px; font-size: 13.5px; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; margin-left: auto; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 6px auto; transition: transform .3s; }

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .site-header.menu-open { background: var(--navy-950); }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-950);
    padding: 24px var(--gutter);
  }
  .site-header.menu-open .nav a { font-size: 22px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: #fff; }
  .site-header.menu-open .nav a.is-key::before { display: none; }
  .site-header.menu-open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}

/* ==========================================================
   RODAPÉ (vai virar include PHP: inc/footer.php)
   ========================================================== */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line-dark); padding: 64px 0 32px; color: rgba(255,255,255,.7); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-grid h4 { color: #fff; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 280px; margin: 0; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #1fae5b; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .3s var(--ease);
}
.whats-float:hover { transform: scale(1.06); }
.whats-float svg { width: 28px; height: 28px; }

/* ---------- Revelação ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Seletor de variações (provisório) ---------- */
.variant-switch {
  position: fixed; left: 20px; bottom: 20px; z-index: 95;
  display: flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: rgba(5,10,24,.85); border: 1px solid var(--line-dark); backdrop-filter: blur(10px);
  font-size: 12px; font-weight: 600;
}
.variant-switch a { padding: 8px 14px; border-radius: 999px; color: rgba(255,255,255,.7); }
.variant-switch a[aria-current="page"] { background: #fff; color: var(--navy-950); }

.nav .only-mobile { display: none; }
@media (max-width: 900px) { .site-header.menu-open .nav .only-mobile { display: block; color: var(--orange); } }
@media (max-width: 640px) { .variant-switch { left: 12px; bottom: 12px; font-size: 11px; } .variant-switch a { padding: 6px 10px; } }
