/* ==========================================================================
   CHEFF — Gestão Gastronômica
   Design tokens
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap");

:root {
  --verde: #00e923;
  --verde-escuro: #049235;
  --verde-tinta: #054b1a;
  --tinta: #101114;
  --grafite: #1c1f24;
  --grafite-2: #2a2e35;
  --creme: #faf9f6;
  --branco: #ffffff;
  --cinza: #62666e;
  --cinza-claro: #9297a1;
  --borda: #e7e4dd;

  --display: "Archivo Black", "Arial Black", sans-serif;
  --corpo: "Inter", sans-serif;
  --mono: "IBM Plex Mono", monospace;

  --raio: 4px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--corpo);
  color: var(--tinta);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--verde-escuro);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--verde);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head p {
  color: var(--cinza);
  font-size: 17px;
  margin-top: 14px;
  line-height: 1.6;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

section { padding: 100px 0; position: relative; }

@media (max-width: 768px) {
  section { padding: 64px 0; }
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--corpo);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: var(--raio);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}

.pill-btn.solid {
  background: var(--verde);
  color: var(--tinta);
  box-shadow: 4px 4px 0 var(--tinta);
}
.pill-btn.solid:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--tinta);
}

.pill-btn.ghost {
  background: transparent;
  border-color: var(--tinta);
  color: var(--tinta);
}
.pill-btn.ghost:hover {
  background: var(--tinta);
  color: var(--branco);
}

.pill-btn.on-dark {
  border-color: var(--branco);
  color: var(--branco);
}
.pill-btn.on-dark:hover {
  background: var(--branco);
  color: var(--tinta);
}

.pill-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ==========================================================================
   Top strip + Nav
   ========================================================================== */
.top-strip {
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--verde) 0 24px, var(--tinta) 24px 26px);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borda);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tinta);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--verde);
  transition: width .2s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .pill-btn.ghost { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 76px 0 40px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  margin-top: 18px;
}

.hero h1 .stroke {
  -webkit-text-stroke: 1.5px var(--tinta);
  color: var(--creme);
}

.hero .lede {
  margin-top: 22px;
  font-size: 18px;
  color: var(--cinza);
  max-width: 520px;
  line-height: 1.65;
}

.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--borda);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cinza);
}

.trust-item svg { width: 20px; height: 20px; color: var(--verde-escuro); flex-shrink: 0; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual .phone-wrap {
  position: relative;
  max-width: 380px;
}

.hero-visual .badge-float {
  position: absolute;
  background: var(--tinta);
  color: var(--branco);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--raio);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.hero-visual .badge-float span.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--verde); flex-shrink: 0;
  animation: blink 1.6s infinite;
}

@keyframes blink { 0%,100% { opacity: 1;} 50% { opacity: .25;} }

.badge-1 { top: 8%; left: -6%; }
.badge-2 { bottom: 14%; right: -8%; }

@media (max-width: 500px) {
  .badge-1, .badge-2 { display: none; }
}

/* ==========================================================================
   Ticket strip — "Como funciona"
   ========================================================================== */
.how {
  background: var(--branco);
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
}

.ticket-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  overflow: hidden;
}

@media (max-width: 860px) {
  .ticket-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .ticket-strip { grid-template-columns: 1fr; }
}

.ticket-step {
  padding: 32px 26px;
  background: var(--creme);
  border-right: 1px dashed var(--borda);
  position: relative;
}

.ticket-step:last-child { border-right: none; }

.ticket-step .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--verde-escuro);
  font-weight: 600;
}

.ticket-step h3 {
  font-family: var(--corpo);
  font-weight: 800;
  font-size: 17px;
  margin-top: 10px;
}

.ticket-step p {
  font-size: 14px;
  color: var(--cinza);
  line-height: 1.55;
  margin-top: 8px;
}

.how-note {
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--cinza);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.how-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--verde-escuro); }

/* ==========================================================================
   Produtos — comanda cards (the key ask)
   ========================================================================== */
.produtos { background: var(--creme); }

.produtos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 860px) {
  .produtos-grid { grid-template-columns: 1fr; }
}

.comanda-card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 8px;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 var(--borda);
  transition: transform .2s ease, box-shadow .2s ease;
}

.comanda-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(16,17,20,0.08);
}

.comanda-card .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px dashed var(--borda);
}

.comanda-card .card-head .tag {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cinza-claro);
}

.comanda-card .card-head .icon-chip {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--tinta);
  display: flex; align-items: center; justify-content: center;
}
.comanda-card .card-head .icon-chip svg { width: 20px; height: 20px; color: var(--verde); }

.comanda-card .card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }

.comanda-card h3 {
  font-family: var(--corpo);
  font-weight: 800;
  font-size: 22px;
}

.comanda-card .role {
  font-size: 13px;
  font-weight: 700;
  color: var(--verde-escuro);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 6px;
}

.comanda-card .desc {
  color: var(--cinza);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 14px;
}

.comanda-card .feat-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.comanda-card .feat-list li {
  font-size: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px dotted var(--borda);
  padding-bottom: 9px;
}

.comanda-card .feat-list li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--verde);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-2px);
}

.comanda-card .card-foot {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed var(--borda);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.comanda-card .card-foot .pill-btn { width: 100%; justify-content: center; }

.comanda-card.featured .card-head { background: var(--tinta); border-bottom-color: #34383f; }
.comanda-card.featured .card-head .tag { color: #8b8f97; }
.comanda-card.featured .card-head .icon-chip { background: var(--verde); }
.comanda-card.featured .card-head .icon-chip svg { color: var(--tinta); }

.comanda-perf {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  background: var(--creme);
  border: 1px solid var(--borda);
  border-radius: 50%;
}
.comanda-perf.left { left: -8px; }
.comanda-perf.right { right: -8px; }

/* ==========================================================================
   Funcionalidades — accordion
   ========================================================================== */
.funcs { background: var(--branco); border-top: 1px solid var(--borda); }

.funcs-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .funcs-layout { grid-template-columns: 1fr; }
}

.acc-item {
  border-bottom: 1px solid var(--borda);
}

.acc-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--corpo);
  font-weight: 700;
  font-size: 17px;
}

.acc-item summary::-webkit-details-marker { display: none; }

.acc-item summary .idx {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--verde-escuro);
  margin-right: 14px;
}

.acc-item summary .chev {
  transition: transform .2s ease;
  color: var(--cinza-claro);
  flex-shrink: 0;
}

.acc-item[open] summary .chev { transform: rotate(45deg); color: var(--verde-escuro); }

.acc-item .acc-body {
  padding: 0 4px 26px 42px;
  color: var(--cinza);
  font-size: 14.5px;
  line-height: 1.9;
}

.funcs-visual {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--borda);
  background: var(--grafite);
  padding: 18px;
}

.funcs-visual img { border-radius: 4px; }

.funcs-visual .caption {
  color: #cfd2d8;
  font-family: var(--mono);
  font-size: 12px;
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   Video band
   ========================================================================== */
.video-band {
  background: var(--tinta);
  color: var(--branco);
  text-align: center;
}

.video-band h2 { color: var(--branco); }
.video-band p { color: #b7bac0; margin-top: 14px; font-size: 16px; }

.play-ring {
  margin: 40px auto 0;
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 2px solid var(--verde);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.play-ring:hover { background: var(--verde); transform: scale(1.06); }
.play-ring svg { width: 26px; height: 26px; color: var(--verde); margin-left: 4px; }
.play-ring:hover svg { color: var(--tinta); }

/* ==========================================================================
   Download band
   ========================================================================== */
.download-band {
  background: var(--verde);
}

.download-band .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.download-band h2 { max-width: 460px; }
.download-band p { color: var(--verde-tinta); margin-top: 10px; font-size: 15.5px; }

/* ==========================================================================
   Contato
   ========================================================================== */
.contato { background: var(--creme); }

.contato-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

@media (max-width: 900px) {
  .contato-layout { grid-template-columns: 1fr; }
}

.contact-channels { display: grid; gap: 16px; }

.channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 18px 20px;
  transition: border-color .2s ease, transform .2s ease;
}

.channel-card:hover { border-color: var(--verde); transform: translateX(4px); }

.channel-card .icon-chip {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--tinta);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.channel-card .icon-chip svg { width: 21px; height: 21px; color: var(--verde); }

.channel-card h4 { font-family: var(--corpo); font-size: 15.5px; font-weight: 700; }
.channel-card span { font-size: 13.5px; color: var(--cinza); }

form.contact-form {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 8px;
  padding: 30px;
  display: grid;
  gap: 14px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 13px 15px;
  font-family: var(--corpo);
  font-size: 14.5px;
  background: var(--creme);
  transition: border-color .2s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--verde-escuro);
}

.contact-form .submit-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
#result { font-size: 13.5px; }

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: var(--tinta);
  color: #9a9da3;
  padding: 46px 0 30px;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

footer .f-brand { display: flex; align-items: center; gap: 10px; }
footer .f-brand img { height: 30px; filter: brightness(0) invert(1); }
footer .f-brand span { font-family: var(--mono); font-size: 12px; color: #6d707a; }

footer .socials { display: flex; gap: 14px; }
footer .socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #34383f;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
footer .socials a:hover { background: var(--verde); border-color: var(--verde); }
footer .socials a:hover svg { color: var(--tinta); }
footer .socials svg { width: 16px; height: 16px; color: #9a9da3; }

.fine-print {
  border-top: 1px solid #2a2d33;
  margin-top: 26px;
  padding-top: 20px;
  font-size: 12.5px;
  color: #6d707a;
  text-align: center;
}
