/* ==========================================================================
   goo.mo — Landing Page da Balança Automatizada
   Design system + estilos. Paleta: laranja #F39200, navy #0F172A, roxo #706DD8
   ========================================================================== */

/* ---------- Fonts (self-hosted, Poppins) ---------- */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-SemiBold.woff2") format("woff2"),
       url("../fonts/Poppins-SemiBold.woff") format("woff");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Bold.woff2") format("woff2"),
       url("../fonts/Poppins-Bold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --orange:      #f39200;
  --orange-dark: #d97e00;
  --navy:        #0f172a;
  --navy-soft:   #1e293b;
  --purple:      #706dd8;
  --slate:       #5f646a;
  --slate-light: #7a828c;
  --bg:          #ffffff;
  --bg-alt:      #f7f8fa;
  --bg-soft:     #eef1f6;
  --line:        #e6e9ef;
  --white:       #ffffff;

  --radius:   16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow:    0 10px 30px rgba(15,23,42,.08);
  --shadow-lg: 0 24px 60px rgba(15,23,42,.14);
  --container: 1180px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #e8ecf3; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}
.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.section-head p { margin-top: 16px; color: var(--slate); font-size: 1.08rem; }
.section--dark .section-head p { color: #aeb7c7; }
.section-cta { text-align: center; margin-top: 48px; }
.text-orange { color: var(--orange); }
.on-dark { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 16px 30px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(243,146,0,.32); }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(243,146,0,.4); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 19px 34px; font-size: 1.06rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: .94rem; font-weight: 500; color: var(--navy-soft); transition: color .15s; }
.nav a:hover { color: var(--orange); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background: linear-gradient(180deg,#fff 0%, var(--bg-alt) 100%); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("../img/hero-bg.webp") center/cover no-repeat;
  opacity: .5;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.hero-copy p.lead { margin-top: 22px; font-size: 1.18rem; color: var(--slate); max-width: 560px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 14px; color: var(--slate); font-size: .95rem; }
.hero-trust .stars { color: var(--orange); letter-spacing: 2px; }

.hero-visual { position: relative; }
.hero-shot {
  position: relative; isolation: isolate;
  max-width: 520px; margin-inline: auto;
  background: #000; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-shot img { width: 100%; height: auto; }
.hero-shot::after {           /* brilho laranja discreto para amarrar com a marca */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 100%, rgba(243,146,0,.22), transparent 62%);
  mix-blend-mode: screen;
}
.hero-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  color: var(--navy); font-size: .82rem; font-weight: 600;
  padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.22);
}

/* ---------- Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; align-items: start; }
.quote-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 38px 34px 30px;
  box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote-mark { position: absolute; top: 26px; right: 28px; width: 40px; height: 40px; color: rgba(243,146,0,.16); }
.quote-mark svg { width: 100%; height: 100%; }
.quote-card blockquote p { color: var(--slate); font-size: 1.01rem; }
.quote-card blockquote p + p { margin-top: 14px; }
.quote-author {
  display: flex; align-items: center; gap: 14px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line);
}
.avatar {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem; color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--purple));
}
.quote-who strong { display: block; font-size: 1.02rem; line-height: 1.3; }
.quote-who small { color: var(--slate-light); font-size: .85rem; }

/* ---------- Recursos ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #dfe4ec; }
.feature-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.feature-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(243,146,0,.14), rgba(112,109,216,.14));
  color: var(--orange);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-num { font-size: 1.7rem; font-weight: 700; line-height: 1; color: var(--bg-soft); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--slate); font-size: 1rem; }

/* ---------- Fluxo (como funciona) ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.flow-step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm);
}
.flow-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.flow-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(243,146,0,.14), rgba(112,109,216,.14));
  color: var(--orange);
}
.flow-icon svg { width: 28px; height: 28px; }
.flow-num { font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--bg-soft); }
.flow-step h3 { font-size: 1.22rem; margin-bottom: 10px; }
.flow-step p { color: var(--slate); font-size: 1rem; }
.flow-step .check-list { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }

/* conector pontilhado entre os cards do fluxo */
@media (min-width: 961px) {
  .flow-step + .flow-step::before {
    content: ""; position: absolute; left: -24px; top: 46px; width: 24px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 11px);
  }
}

/* ---------- Split (história da goo.mo) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split + .split { margin-top: 90px; }
.split--reverse .split-media { order: 2; }
.split--story { align-items: start; }
/* a coluna de texto é bem mais alta; a imagem acompanha a rolagem no desktop */
@media (min-width: 961px) {
  .split--story .split-media { position: sticky; top: 106px; }
}
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split-body h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 18px; }
.split-body h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 18px; }
.split-body p { color: var(--slate); font-size: 1.05rem; }
.split-body p + p { margin-top: 16px; }

.story-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.story-stats div {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
}
.story-stats strong { display: block; font-size: 1.5rem; color: var(--orange); line-height: 1.15; }
.story-stats span { font-size: .9rem; color: var(--slate); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 4px; }
.chips li {
  font-size: .87rem; font-weight: 600; color: var(--navy-soft);
  padding: 8px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}

/* ---------- Listas com check ---------- */
.check-list { margin-top: 24px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--navy-soft); }
.check-list .ic { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; }
.check-list--sm { gap: 11px; }
.check-list--sm li { font-size: .95rem; font-weight: 500; }
.check-list--sm .ic { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; }

/* ---------- Steps / treinamento ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 34px 28px; position: relative;
}
.section--dark .step h3 { color: #fff; }
.step-num {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 1.15rem; margin-bottom: 20px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step p { color: #aeb7c7; font-size: .98rem; }

/* ---------- Form / CTA lead ---------- */
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lead-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.lead-copy p { margin-top: 16px; color: var(--slate); font-size: 1.1rem; }
.lead-benefits { margin-top: 28px; display: grid; gap: 14px; }
.lead-benefits li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.lead-benefits .ic { width: 22px; height: 22px; flex: 0 0 22px; color: var(--orange); }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 34px; box-shadow: var(--shadow-lg);
}
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card .sub { color: var(--slate); font-size: .96rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 7px; color: var(--navy-soft); }
.field .opt { font-weight: 400; color: var(--slate-light); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--navy);
  background: var(--bg-alt); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .15s, background .15s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f646a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); background-color: #fff;
}
.field textarea { min-height: 96px; resize: vertical; }
.field.invalid input, .field.invalid select { border-color: #e5484d; }
.field .error { color: #e5484d; font-size: .82rem; margin-top: 6px; display: none; }
.field.invalid .error { display: block; }
.form-note { font-size: .82rem; color: var(--slate-light); margin-top: 14px; text-align: center; }
.form-note a { color: var(--purple); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 16px 20px; border-radius: 12px; font-size: .96rem; margin-bottom: 22px; }
.alert--ok { background: #e7f7ee; color: #146c43; border: 1px solid #b7e4c7; }
.alert--err { background: #fdeaea; color: #b02a37; border: 1px solid #f5c2c7; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 1.1rem; color: var(--navy);
  padding: 24px 44px 24px 0; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--orange); transition: transform .2s;
}
.faq-item[open] .faq-q::after { content: "–"; }
.faq-a { padding: 0 44px 24px 0; color: var(--slate); font-size: 1.02rem; }
details.faq-item summary { list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
.faq-more { max-width: 820px; margin: 32px auto 0; text-align: center; color: var(--slate); font-size: .98rem; }
.faq-more a { color: var(--purple); font-weight: 600; text-decoration: underline; }

/* ---------- Final CTA ---------- */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); max-width: 800px; margin: 0 auto; color: #fff; }
.cta-final p { margin: 18px auto 34px; max-width: 620px; color: #aeb7c7; font-size: 1.12rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1120; color: #9aa4b6; padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { height: 30px; margin-bottom: 18px; }
.logo-invert { filter: brightness(0) invert(1); }
.footer-brand p { max-width: 340px; font-size: .96rem; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; text-transform: uppercase; }
.footer-col a { display: block; padding: 6px 0; font-size: .96rem; transition: color .15s; }
.footer-col a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background .15s; }
.footer-social a:hover { background: var(--orange); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: .88rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav { gap: 20px; }
  .nav a { font-size: .9rem; }
}
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-shot { max-width: 460px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 34px; }
  .split--reverse .split-media { order: 0; }
  .lead-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .section { padding: 68px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: 1fr; }
  .quote-card { padding: 32px 24px 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  body { font-size: 16px; }
}
