/* ===================== Tá Pronto — site institucional ===================== */
:root {
  --primary: #E0392B;
  --primary-dark: #B92A1F;
  --primary-light: #FFF1EE;
  --dark: #1A1A1A;
  --gray-900: #1F2430;
  --gray-700: #4A5160;
  --gray-500: #7A8190;
  --gray-200: #E7E9EC;
  --gray-100: #F5F6F8;
  --white: #FFFFFF;
  --green: #1E9E5A;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 30px rgba(20, 20, 20, 0.08);
  --max: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--gray { background: var(--gray-100); }
.section--dark { background: var(--gray-900); color: var(--white); }

h1, h2, h3, h4 { margin: 0 0 14px; line-height: 1.18; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: 2.7rem; line-height: 1.22; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.25rem; }
.h1-accent { color: var(--primary); }
p { margin: 0 0 16px; color: var(--gray-700); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.lede {
  font-size: 1.15rem;
  color: var(--gray-700);
  max-width: 620px;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker { text-align: center; max-width: 680px; margin: 0 auto 48px; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: var(--white); box-shadow: 0 10px 24px rgba(224,57,43,0.35); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost { background: transparent; border-color: var(--gray-200); color: var(--gray-900); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: var(--white); color: var(--primary); }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--max); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.7rem; font-weight: 800; color: var(--gray-900); }
.logo svg { flex-shrink: 0; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { font-size: 0.95rem; font-weight: 600; color: var(--gray-700); }
.nav a:hover { color: var(--primary); }
.header__cta { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; }
@media (max-width: 880px) {
  .nav { display: none; }
  .header__talk { display: none; }
}

/* Hero */
.hero { padding: 64px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero__proof { display: flex; gap: 22px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.hero__proof .stat { font-weight: 800; color: var(--gray-900); }
.hero__proof small { display: block; color: var(--gray-500); font-weight: 500; font-size: 0.82rem; }
.hero__art {
  background: linear-gradient(155deg, var(--primary-light), #FFE3DC);
  border-radius: 28px;
  padding: 36px;
  position: relative;
  min-height: 380px;
}
.mock-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 16px;
}
.mock-card__title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); margin-bottom: 10px; }
.mock-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--gray-200); font-size: 0.92rem; }
.mock-row:last-child { border-bottom: none; }
.mock-pill { background: var(--green); color: var(--white); font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.mock-float {
  position: absolute; right: -18px; top: 24px;
  background: var(--gray-900); color: var(--white);
  padding: 14px 18px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); font-size: 0.85rem; font-weight: 700;
}

/* Logos / integrações */
.logo-strip { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; justify-content: center; opacity: 0.85; }
.logo-chip {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--gray-700);
  background: var(--white); border: 1px solid var(--gray-200);
  padding: 10px 18px; border-radius: 999px; font-size: 0.92rem;
}
.brand-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  color: #fff; font-size: 0.65rem; font-weight: 800; flex-shrink: 0;
}

/* Antes/depois */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.compare__card { border-radius: var(--radius); padding: 32px; }
.compare__card--bad { background: #FFF4F2; border: 1px solid #FAD4CD; }
.compare__card--good { background: #F0FBF4; border: 1px solid #C9F0D6; }
.compare__card h3 { display: flex; align-items: center; gap: 10px; }
.logo-inline { display: inline-flex; align-items: center; gap: 16px; vertical-align: middle; margin-left: 6px; }
.logo-inline svg { flex-shrink: 0; }
.compare__list { list-style: none; margin: 0; padding: 0; }
.compare__list li { display: flex; gap: 10px; padding: 9px 0; font-size: 0.96rem; color: var(--gray-700); }
.compare__card--bad .compare__list li::before { content: "✕"; color: var(--primary); font-weight: 800; flex-shrink: 0; }
.compare__card--good .compare__list li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* Grid de cards genérico */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } .hero__grid { grid-template-columns: 1fr; } .compare { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__icon { font-size: 1.8rem; margin-bottom: 14px; display: inline-block; }
.card__tag { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); margin-bottom: 8px; }
.card ul { list-style: none; margin-top: 12px; }
.card ul li { font-size: 0.9rem; color: var(--gray-700); padding: 5px 0; padding-left: 20px; position: relative; }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats .num { font-size: 2.2rem; font-weight: 800; color: var(--primary); }
.stats .label { font-size: 0.88rem; color: var(--gray-500); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Segmentos */
.seg-chip {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: 18px; text-align: center; font-weight: 700; font-size: 0.95rem;
}
.seg-chip .emoji { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.seg-chip.is-active { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }

/* Planos */
.plan {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.plan--highlight { border-color: var(--primary); box-shadow: var(--shadow); position: relative; }
.plan__badge { position: absolute; top: -13px; right: 24px; background: var(--primary); color: var(--white); font-size: 0.72rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.plan__price { font-size: 2.1rem; font-weight: 800; }
.plan__price small { font-size: 0.95rem; font-weight: 600; color: var(--gray-500); }
.plan ul { list-style: none; flex-grow: 1; }
.plan ul li { padding: 7px 0; font-size: 0.92rem; color: var(--gray-700); padding-left: 22px; position: relative; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* Depoimentos */
.testi {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 28px;
}
.testi__quote { font-size: 1rem; color: var(--gray-900); font-weight: 500; }
.testi__who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--primary); }
.testi__who strong { display: block; font-size: 0.92rem; }
.testi__who span { font-size: 0.82rem; color: var(--gray-500); }
.placeholder-note { font-size: 0.78rem; color: var(--gray-500); font-style: italic; margin-top: 4px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 20px 0; }
.faq-item summary { font-weight: 700; cursor: pointer; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; }

/* CTA final */
.cta-final {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 28px; padding: 56px; text-align: center; color: var(--white);
}
.cta-final h2 { color: var(--white); }
.cta-final p { color: rgba(255,255,255,0.9); }
.cta-final .btn-row { justify-content: center; }

/* Footer */
.footer { background: var(--gray-900); color: rgba(255,255,255,0.75); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; font-size: 0.9rem; }
.footer a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* Telas reais do sistema (screenshots) */
.browser-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow); background: var(--white); margin: 0; }
.browser-frame__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--gray-100); border-bottom: 1px solid var(--gray-200); }
.browser-frame__dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.browser-frame__dot--r { background: #FF5F57; }
.browser-frame__dot--y { background: #FEBC2E; }
.browser-frame__dot--g { background: #28C840; }
.browser-frame img { display: block; width: 100%; }
.screens-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.screens-grid figure { margin: 0; }
.screens-grid figcaption { margin-top: 12px; font-weight: 700; font-size: 0.95rem; color: var(--gray-900); }
.screen-single { max-width: 760px; margin: 0 auto; }
.screen-single figcaption { text-align: center; margin-top: 14px; font-weight: 700; color: var(--gray-900); }
@media (max-width: 980px) { .screens-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .screens-grid { grid-template-columns: 1fr; } }

/* Formulário de contato */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; color: var(--gray-900); }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 0.95rem; font-family: inherit; color: var(--gray-900); background: var(--white);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 90px; }
@media (max-width: 760px) { .contact-form { grid-template-columns: 1fr; } }

/* Botão flutuante de WhatsApp (mascote chef) */
.whatsapp-float {
  position: fixed; bottom: 18px; right: 18px; z-index: 999;
  width: 150px; display: block; text-decoration: none;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.28));
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: translateY(-4px); }
.whatsapp-float__avatar { width: 100%; display: block; }
.whatsapp-float__badge {
  position: absolute; top: -4px; right: -6px; width: 46px; height: 46px;
  border-radius: 50% 50% 50% 8px;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 4px 10px rgba(0,0,0,0.3), 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 4px 10px rgba(0,0,0,0.3), 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 10px rgba(0,0,0,0.3), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 640px) {
  .whatsapp-float { width: 90px; bottom: 14px; right: 14px; }
  .whatsapp-float__badge { width: 30px; height: 30px; }
}

/* Badge de placeholder visível só em ambiente de edição */
.todo {
  display: inline-block; background: #FFF3CD; color: #8A6D00; border: 1px dashed #E6C300;
  font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-left: 6px;
}
