@font-face { font-family: Poppins; src: url(../fonts/Poppins-Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url(../fonts/Poppins-SemiBold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url(../fonts/Poppins-Bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --orange: #fd6e3d;
  --dark: #2a2a2a;
  --black: #000;
  --peach: #fac2ae;
  --pink: #fbefef;
  --grey: #f6f6f6;
  --stone: #eeeceb;
  --ink: #323a3f;
  --muted: #939399;
  --low: #ef353f;
  --medium: #ff8e00;
  --high: #76d441;
  --wrap: 1116px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Poppins, 'Segoe UI', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--orange); }
strong, b { font-weight: 700; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 640px; }
.center { text-align: center; }
.c-white { color: #fff; }
.c-light { color: var(--stone); }
.c-orange { color: var(--orange); }
.c-dark { color: var(--dark); }
.c-black { color: #000; }

.h1, .h2, .h3, .h4, .h5 { font-weight: 400; margin: 0 0 .6em; }
.h1 { font-size: 54px; line-height: 1.2; }
.h2 { font-size: 36px; line-height: 1.2; }
.h3 { font-size: 24px; line-height: 1.5; }
.h4 { font-size: 20px; line-height: 1.5; }
.h5 { font-size: 16px; line-height: 1.5; }

.btn { display: inline-block; background: var(--orange); color: #fff; font: 500 16px/1 Poppins, sans-serif; padding: 16px 32px; border: 0; border-radius: 5px; text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-dark { background: var(--dark); }
.btn-block { display: block; width: 100%; }

/* header / footer */
.site-header { background: var(--black); padding: 28px 24px; text-align: center; }
.site-logo img { display: inline-block; width: 227px; }
.site-footer { background: var(--dark); color: #aaa; text-align: center; padding: 32px 24px 28px; font-size: 13px; }
.site-footer img { width: 200px; display: block; margin: 0 auto 12px; }
.site-footer a { color: #aaa; }

.sec { padding: 72px 0; }
.sec-dark { background: var(--dark); }
.sec-peach { background: var(--peach); }
.sec-pink { background: var(--pink); }
.sec-orange { background: var(--orange); }
.sec-testimonials { background: var(--grey); }

/* hero */
.hero { padding: 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; min-height: 790px; }
.hero-img { align-self: stretch; background: url(../img/hero.png) center bottom / contain no-repeat; min-height: 560px; }
.hero-copy { padding: 64px 0; }
.hero-copy .h1 { font-size: 44px; }
.hero-copy .h4 { margin-bottom: .8em; }
.sabia { margin: 24px 0 12px; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; }
.checks li { position: relative; padding-left: 28px; margin: 0 0 12px; font-size: 14px; color: #fff; }
.checks li::before { content: ''; position: absolute; left: 2px; top: 3px; width: 6px; height: 11px; border: solid var(--orange); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.checks-dark li { color: var(--ink); font-size: 16px; }

/* áreas */
.sec-areas { padding-top: 24px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.area { text-align: center; color: #fff; }
.area img { width: 284px; height: 124px; object-fit: contain; }
.area .h3 { font-size: 30px; margin: 12px 0 8px; }
.area p { margin: 0; }

/* formulário */
.sec-form { background: #fff; }
.signup { margin-top: 32px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: block; margin-bottom: 16px; }
.field input, .field select { width: 100%; height: 56px; padding: 22px 14px 6px; font: 400 15px Poppins, sans-serif; color: var(--ink); background: #fff; border: 1px solid #d5d5da; border-radius: 5px; outline: none; appearance: none; -webkit-appearance: none; transition: border-color .15s, box-shadow .15s; }
.field select { cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23939399' stroke-width='2'/%3E%3C/svg%3E") right 16px center no-repeat; }
.field span { position: absolute; left: 15px; top: 18px; font-size: 14px; color: var(--muted); pointer-events: none; transition: all .15s; }
.field input:focus, .field select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(253,110,61,.15); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field select:focus + span, .field select:valid + span { top: 7px; font-size: 11px; color: var(--ink); }
.field.invalid input, .field.invalid select { border-color: var(--low); }
.field.invalid span { color: var(--low); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.optin { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); margin: 4px 0 20px; cursor: pointer; }
.optin input { accent-color: var(--orange); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.form-error { color: var(--low); font-size: 14px; margin: 0 0 12px; }
.privacy { font-size: 13px; color: var(--muted); text-align: center; margin: 16px 0 0; }

/* como funciona */
.sec-peach .h2 { margin-bottom: .4em; }
.steps { text-align: center; }
.steps img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.steps .h4 { margin: 16px 0 8px; }
.steps p { margin: 0; color: var(--ink); }

/* avaliação */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { justify-self: center; max-height: 520px; width: auto; }

/* framework */
.sec-framework .h1 { font-size: 40px; max-width: 800px; }
.sec-framework .btn { margin: 8px 0 40px; }
.framework-img { display: block; width: 100%; border-radius: 16px; }

/* testemunhos */
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.testimonial { margin: 0; background: #fff; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.testimonial blockquote { margin: 0 0 20px; color: var(--ink); }
.testimonial figcaption { display: flex; gap: 14px; align-items: center; color: var(--orange); }
.testimonial figcaption img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.testimonial small { color: var(--muted); font-size: 13px; }

/* clientes */
.sec-clients { padding: 48px 0; }
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 48px; margin-top: 24px; justify-items: center; }
.clients img { width: 168px; }

/* ---------- questionário (igual ao ScoreApp) ---------- */
body.quiz-mode .site-footer { display: none; }
.quiz { min-height: calc(100vh - 115px); background: #fff; color: var(--dark); display: flex; flex-direction: column; }
.quiz-stage { flex: 1; width: 100%; max-width: 820px; margin: 0 auto; padding: 56px 24px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.quiz-stage.in { animation: quizIn .3s ease both; }
@keyframes quizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quiz-back { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--dark); font: 400 16px Poppins, sans-serif; letter-spacing: .5px; cursor: pointer; padding: 6px 10px; margin: 0 0 18px; }
.quiz-back:hover { color: var(--orange); }
.quiz-q { font-size: 36px; line-height: 1.35; font-weight: 400; margin: 0 0 32px; max-width: 700px; }
.quiz-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 460px; }
.quiz-opt { flex: 0 0 auto; min-width: 190px; min-height: 58px; padding: 14px 32px; font: 500 18px Poppins, sans-serif; color: #fff; background: var(--orange); border: 0; border-radius: 5px; cursor: pointer; transition: filter .15s, transform .1s, box-shadow .15s; }
.quiz-opt:hover { filter: brightness(1.07); box-shadow: 0 4px 14px rgba(253,110,61,.3); }
.quiz-opt:active { transform: scale(.98); }
.quiz-opt.selected { background: var(--dark); }
.quiz-text { width: 100%; max-width: 520px; }
.quiz-text textarea { width: 100%; font: 400 16px/1.5 Poppins, sans-serif; color: var(--ink); background: #fff; border: 1px solid #8a8f98; border-radius: 5px; padding: 14px; resize: vertical; outline: none; }
.quiz-text textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(253,110,61,.15); }
.quiz-counter { text-align: right; font-size: 14px; color: var(--ink); margin: 6px 0 16px; }
.quiz-error { color: var(--low); margin: 16px 0 0; font-size: 14px; }
.quiz-foot { background: #e3eefc; padding: 18px 24px 22px; display: flex; justify-content: center; }
.quiz-foot-inner { width: 205px; }
.quiz-count { font-size: 18px; color: var(--ink); margin: 0 0 6px; }
.quiz-progress { height: 5px; background: #fdb8a1; border-radius: 3px; overflow: hidden; }
.quiz-bar { height: 100%; width: 0; background: var(--orange); transition: width .35s ease; }
.quiz-loading { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; color: var(--ink); }
.spinner { width: 48px; height: 48px; border: 4px solid #f1f1f1; border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- resultados (igual ao ScoreApp) ---------- */
.res-intro { background: var(--dark); color: #fff; padding: 56px 0 40px; }
.res-intro .h2 { font-size: 36px; margin-bottom: 18px; }
.res-intro-text p { margin: 0 0 14px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: #fff; text-decoration: underline; cursor: pointer; }
.tier-legend { list-style: none; display: flex; gap: 22px; padding: 0; margin: 26px 0 0; font-weight: 700; font-size: 14px; }
.tier-legend li::before { content: ''; display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--c); vertical-align: -4px; margin-right: 8px; }
.seg-wrap { max-width: 620px; margin: 0 auto; }
.seg-donut { display: block; width: 100%; height: auto; overflow: visible; }
.seg { transform-origin: 300px 210px; animation: segIn .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * .12s); }
@keyframes segIn { from { opacity: 0; transform: scale(.85); } }
.seg-pct { fill: #fff; font: 700 13px Poppins, sans-serif; text-anchor: middle; dominant-baseline: central; }
.seg-line { fill: none; stroke: #fff; stroke-width: 1.2; }
.seg-label { fill: #fff; font: 600 11.5px Poppins, sans-serif; }
.seg-center-label { font: 700 17px Poppins, sans-serif; text-anchor: middle; }
.seg-center { font: 700 64px Poppins, sans-serif; text-anchor: middle; letter-spacing: -2px; }
.cat-tabs { position: sticky; top: 0; z-index: 5; background: #fff; display: flex; justify-content: center; gap: 36px; padding: 16px 20px; box-shadow: 0 1px 0 #eee; overflow-x: auto; white-space: nowrap; }
.cat-tabs a { color: var(--dark); text-decoration: none; font-size: 16px; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.cat-tabs a.active, .cat-tabs a:hover { color: var(--orange); border-bottom-color: var(--orange); }
.res-cats { background: #fff; padding: 24px 0 64px; }
.cat-card { background: var(--dark); color: #fff; border-radius: 16px; padding: 36px 28px 40px; text-align: center; margin: 0 0 40px; scroll-margin-top: 70px; }
.cat-icon { width: 84px; height: 84px; border-radius: 50%; background: #fff; object-fit: contain; padding: 10px; border: 3px solid #555; }
.cat-card h3 { font-size: 24px; font-weight: 700; margin: 14px 0 10px; }
.cat-pill { display: inline-block; min-width: 110px; padding: 3px 14px; border-radius: 6px; color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.cat-text { max-width: 900px; margin: 0 auto; }
.cat-text p { margin: 0 0 14px; }
.rec-title { margin-top: 28px !important; }
.recs { list-style: none; padding: 0; margin: 0; }
.recs li { margin: 0 0 20px; }
.recs li::before { content: '✓'; display: block; color: var(--orange); font-size: 18px; margin-bottom: 2px; }
.recs em strong { color: var(--orange); }
.res-next { background: var(--stone); padding: 64px 0; }
.res-next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.res-next .h2 { font-size: 32px; line-height: 1.3; }
.res-next-text p { color: var(--ink); margin: 0 0 14px; }
.res-next .btn { margin-top: 8px; }
.modal { border: 0; border-radius: 12px; padding: 0; max-width: 440px; width: calc(100% - 32px); }
.modal::backdrop { background: rgba(0,0,0,.55); }
.modal-box { padding: 32px 28px 28px; position: relative; }
.modal-box h3 { margin: 0 0 6px; font-size: 22px; color: var(--dark); }
.modal-box > p { margin: 0 0 20px; color: var(--ink); font-size: 14px; }
.modal-x { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: #999; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .h1, .hero-copy .h1 { font-size: 36px; }
  .h2 { font-size: 28px; }
  .sec-framework .h1 { font-size: 30px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-img { order: 2; min-height: 420px; }
  .hero-copy { padding: 48px 0 16px; }
  .cols3 { grid-template-columns: 1fr; gap: 32px; }
  .split, .res-next-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .quiz-q { font-size: 26px; }
  .res-intro .h2 { font-size: 28px; }
  .res-next .h2 { font-size: 26px; }
}
@media (max-width: 520px) {
  .sec { padding: 52px 0; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .site-header { padding: 20px; }
  .site-logo img { width: 180px; }
  .quiz-opt { min-width: 140px; }
  .cat-tabs { justify-content: flex-start; gap: 24px; }
  .seg-label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
