/* =========================================================================
   FlowGO — theme.css (fonte única de tokens e componentes)
   Paleta extraída do site atual (Elementor post-15.css):
   base escura #151515/#202020, accent verde-neon #0EFA5C → #3AFFC4, ciano #00BCD2
   Regra: NÃO vencer regra deste arquivo com !important em outro CSS.
   ========================================================================= */

:root {
  /* Marca */
  --fg-accent: #0efa5c;
  --fg-accent-2: #3affc4;
  --fg-accent-ink: #04140a;          /* texto sobre accent */
  --fg-cyan: #00bcd2;
  --fg-grad: linear-gradient(105deg, var(--fg-accent) 0%, var(--fg-accent-2) 100%);

  /* Superfícies */
  --fg-ink: #151515;                 /* fundo dark primário */
  --fg-ink-2: #202020;               /* fundo dark secundário */
  --fg-ink-3: #2b2b2b;               /* borda em dark */
  --fg-paper: #ffffff;
  --fg-paper-2: #f6f8f7;
  --fg-line: #e4e8e6;

  /* Texto */
  --fg-text: #202020;
  --fg-text-muted: #5c6360;
  --fg-text-on-dark: #f4f7f5;
  --fg-text-on-dark-muted: #a9b2ae;

  /* Tipografia */
  --fg-font-display: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fg-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Escala fluida */
  --fg-h1: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem);
  --fg-h2: clamp(1.6rem, 1.1rem + 2.1vw, 2.6rem);
  --fg-h3: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);

  /* Layout */
  --fg-wrap: 1180px;
  --fg-gutter: clamp(1.15rem, 4vw, 2.5rem);
  --fg-section-y: clamp(3.5rem, 7vw, 6.5rem);
  --fg-radius: 14px;
  --fg-radius-lg: 22px;
  --fg-shadow: 0 10px 30px rgba(21, 21, 21, .08);
  --fg-shadow-lift: 0 18px 44px rgba(21, 21, 21, .14);
  --fg-header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--fg-header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--fg-font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fg-text);
  background: var(--fg-paper);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--fg-font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: var(--fg-h1); }
h2 { font-size: var(--fg-h2); }
h3 { font-size: var(--fg-h3); }
p  { margin: 0 0 1em; }

/* ---------- Layout ---------- */
.fg-wrap { width: 100%; max-width: var(--fg-wrap); margin-inline: auto; padding-inline: var(--fg-gutter); }
.fg-section { padding-block: var(--fg-section-y); }
.fg-section--dark { background: var(--fg-ink); color: var(--fg-text-on-dark); }
.fg-section--dark h2, .fg-section--dark h3 { color: #fff; }
.fg-section--soft { background: var(--fg-paper-2); }
.fg-grid { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); }
.fg-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.fg-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.fg-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.fg-eyebrow {
  font-family: var(--fg-font-display);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--fg-cyan); margin: 0 0 .8rem;
}
.fg-section--dark .fg-eyebrow { color: var(--fg-accent); }
.fg-lead { font-size: clamp(1.02rem, .98rem + .35vw, 1.18rem); color: var(--fg-text-muted); max-width: 62ch; }
.fg-section--dark .fg-lead { color: var(--fg-text-on-dark-muted); }
.fg-center { text-align: center; }
.fg-center .fg-lead { margin-inline: auto; }

/* ---------- Botões ---------- */
.fg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--fg-font-display); font-weight: 700; font-size: .98rem;
  padding: .85rem 1.6rem; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.fg-btn:hover { transform: translateY(-2px); }
.fg-btn--primary { background: var(--fg-grad); color: var(--fg-accent-ink); box-shadow: 0 10px 26px rgba(14, 250, 92, .28); }
.fg-btn--primary:hover { box-shadow: 0 16px 34px rgba(14, 250, 92, .36); }
.fg-btn--royal, .fg-hero__actions .fg-btn--primary { background: #1d4ed8; color: #fff; box-shadow: 0 10px 26px rgba(29, 78, 216, .35); }
.fg-btn--royal:hover, .fg-hero__actions .fg-btn--primary:hover { background: #1e40af; box-shadow: 0 16px 34px rgba(29, 78, 216, .45); }
.fg-btn--ghost { border-color: currentColor; color: var(--fg-text); background: transparent; }
.fg-section--dark .fg-btn--ghost, .fg-hero .fg-btn--ghost { color: #fff; }
.fg-btn--wa { background: #25d366; color: #06240f; }
.fg-btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }

/* ---------- Header ----------
   A navegação vive em includes/nav-site.php + assets/css/nav-site.css (padrão WayGo).
   As antigas regras .fg-header/.fg-nav/.fg-burger foram removidas em 2026-07-30.
   ---------------------------------- */

/* ---------- Hero ---------- */
.fg-hero {
  background: radial-gradient(120% 100% at 85% 0%, #1d3a2a 0%, var(--fg-ink) 55%);
  color: var(--fg-text-on-dark);
  /* +76px: a nav é fixa (nav-site.css), não empurra o conteúdo */
  padding-block: calc(76px + clamp(3rem, 6vw, 5.5rem)) clamp(3rem, 6vw, 5.5rem);
}
.fg-hero__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .fg-hero__grid { grid-template-columns: 1.05fr .95fr; } }
.fg-hero h1 { color: #fff; }
.fg-hero h1 em { font-style: normal; background: var(--fg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fg-hero__sub { color: var(--fg-text-on-dark-muted); font-size: clamp(1.02rem, .98rem + .4vw, 1.2rem); max-width: 56ch; }
.fg-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

/* ---------- Cards ---------- */
.fg-card {
  background: var(--fg-paper); border: 1px solid var(--fg-line);
  border-radius: var(--fg-radius); padding: clamp(1.25rem, 2.4vw, 1.75rem);
  box-shadow: var(--fg-shadow); transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.fg-card:hover { transform: translateY(-4px); box-shadow: var(--fg-shadow-lift); }
.fg-card h3 { margin-bottom: .4rem; }
.fg-card p { color: var(--fg-text-muted); margin-bottom: .8rem; }
.fg-card__link { font-family: var(--fg-font-display); font-weight: 700; color: var(--fg-cyan); }
.fg-card__link::after { content: " →"; }
.fg-section--dark .fg-card { background: var(--fg-ink-2); border-color: var(--fg-ink-3); box-shadow: none; color: var(--fg-text-on-dark); }
.fg-section--dark .fg-card p { color: var(--fg-text-on-dark-muted); }

/* ---------- Steps (1..4) ---------- */
.fg-step { position: relative; padding-top: .5rem; }
.fg-step__num {
  font-family: var(--fg-font-display); font-weight: 800; font-size: 2.4rem; line-height: 1;
  background: var(--fg-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: .5rem;
}
.fg-step h3 { font-size: 1.1rem; }
.fg-step p { color: var(--fg-text-muted); font-size: .96rem; margin: 0; }
.fg-section--dark .fg-step p { color: var(--fg-text-on-dark-muted); }

/* ---------- Bloco problema/solução ---------- */
.fg-split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .fg-split { grid-template-columns: 1fr 1fr; }
  .fg-split--flip .fg-split__media { order: -1; }
}
.fg-split + .fg-split { margin-top: clamp(3rem, 6vw, 5rem); }
.fg-split__q { font-family: var(--fg-font-display); font-weight: 700; color: var(--fg-cyan); margin: 0 0 .5rem; }
.fg-check { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .6rem; }
.fg-check li { position: relative; padding-left: 1.9rem; font-size: .98rem; }
.fg-check li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--fg-grad) center / 62% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2304140a' d='M9.6 16.6 5 12l1.4-1.4 3.2 3.2 8-8L19 7.2z'/%3E%3C/svg%3E") center / 78% no-repeat;
}

/* ---------- Formulário ---------- */
.fg-form { display: grid; gap: .9rem; }
.fg-form__row { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.fg-field { display: grid; gap: .35rem; }
.fg-field label { font-size: .85rem; font-weight: 600; color: var(--fg-text-muted); }
.fg-field input, .fg-field select, .fg-field textarea {
  font: inherit; color: var(--fg-text); background: #fff;
  border: 1px solid var(--fg-line); border-radius: 10px; padding: .7rem .85rem;
  width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.fg-field input:focus, .fg-field select:focus, .fg-field textarea:focus {
  outline: none; border-color: var(--fg-accent); box-shadow: 0 0 0 3px rgba(14, 250, 92, .18);
}
.fg-form__card { background: #fff; border-radius: var(--fg-radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--fg-shadow-lift); color: var(--fg-text); }
.fg-form__card h2, .fg-form__card h3 { color: var(--fg-text); }
.fg-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fg-form__msg { font-size: .95rem; margin: 0; }
.fg-form__msg[data-state="ok"] { color: #157347; }
.fg-form__msg[data-state="err"] { color: #b02a37; }

/* ---------- CTA faixa ---------- */
.fg-cta { background: var(--fg-grad); color: var(--fg-accent-ink); text-align: center; }
.fg-cta h2 { color: var(--fg-accent-ink); }
.fg-cta .fg-lead { color: rgba(4, 20, 10, .78); }
.fg-cta .fg-btn--primary { background: var(--fg-ink); color: #fff; box-shadow: none; }

/* ---------- Footer ---------- */
.fg-footer { background: var(--fg-ink); color: var(--fg-text-on-dark-muted); padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem; font-size: .94rem; }
.fg-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .9rem; }
.fg-footer a:hover { color: var(--fg-accent); }
.fg-footer__grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.fg-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.fg-footer__logo img { height: 28px; margin-bottom: 1rem; }
.fg-footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: .86rem; }

/* ---------- WhatsApp flutuante ---------- */
.fg-wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 70;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
  transition: transform .18s ease;
}
.fg-wa-float:hover { transform: scale(1.06); }
.fg-wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Utilidades ---------- */
.fg-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
