/* ==========================================================================
   Agência Delivery Food — Design System
   Preto/Branco (sofisticação) + Dourado (autoridade) + Vermelho-laranja (ação)
   ========================================================================== */

:root {
  /* Cores base */
  --ink: #111111;          /* preto quase puro — fundo de seções escuras / texto principal */
  --ink-soft: #1c1a17;     /* variação levemente quente do preto, pra não ficar chapado */
  --paper: #faf7f1;        /* off-white quente — fundo de seções claras */
  --paper-2: #f1ebe0;      /* off-white um tom mais escuro, pra dar profundidade em cards */

  /* Dourado — autoridade/riqueza */
  --gold: #c9a227;
  --gold-light: #e4c468;
  --gold-dark: #8f7015;

  /* Vermelho-laranja — ação/CTA */
  --flame: #ff5a1f;
  --flame-dark: #e0430e;
  --flame-light: #ff8248;

  /* Texto */
  --text-on-paper: #262220;
  --text-on-paper-soft: #5c554c;
  --text-on-ink: #f4f0e8;
  --text-on-ink-soft: #b8b0a2;

  /* Tipografia */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Espaçamento */
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(56px, 9vw, 128px);
  --radius: 14px;
  --radius-sm: 8px;

  --max-width: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text-on-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

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

section { padding-block: var(--section-pad); }
section.dark { background: var(--ink); color: var(--text-on-ink); }
section.dark h1, section.dark h2, section.dark h3 { color: var(--text-on-ink); }
section.dark p { color: var(--text-on-ink-soft); }
section.paper-2 { background: var(--paper-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1em;
}
section.dark .eyebrow { color: var(--gold-light); }
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--flame);
  display: inline-block;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-on-paper-soft); max-width: 60ch; }
section.dark .lede { color: var(--text-on-ink-soft); }

.text-gold { color: var(--gold-dark); }
section.dark .text-gold { color: var(--gold-light); }
.text-flame { color: var(--flame); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .95em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-flame {
  background: var(--flame);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(255, 90, 31, .55);
}
.btn-flame:hover { background: var(--flame-dark); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
section.dark .btn-outline { color: var(--text-on-ink); border-color: rgba(244,240,232,.35); }
.btn-outline:hover { background: rgba(0,0,0,.05); }
section.dark .btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-sm { padding: .7em 1.3em; font-size: .88rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 1em; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, .88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(17,17,17,.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: .7em; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.brand-badge {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(17,17,17,.08);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.brand-badge img { width: 100%; height: 100%; object-fit: cover; }

.nav-links { display: flex; gap: 2.2em; font-size: .95rem; font-weight: 500; }
.nav-links a { opacity: .8; transition: opacity .15s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"] { color: var(--flame); }

.nav-actions { display: flex; align-items: center; gap: 1em; }
.nav-toggle {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 64px 0 0 0; background: var(--paper); flex-direction: column; padding: 2em var(--gutter); gap: 1.4em; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .2s ease; }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-sm-desktop { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(64px, 11vw, 140px) clamp(48px, 8vw, 96px);
  background:
    radial-gradient(circle at 15% 20%, rgba(201,162,39,.16), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(255,90,31,.10), transparent 40%),
    var(--ink);
  color: var(--text-on-ink);
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2em, 6vw, 5em); align-items: center; }
.hero h1 { color: var(--text-on-ink); }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-stats { display: flex; gap: clamp(1.4em, 4vw, 3em); margin-top: 2.4em; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--gold-light); display: block; }
.hero-stats .label { font-size: .85rem; color: var(--text-on-ink-soft); }
.hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.6em;
  backdrop-filter: blur(6px);
}
.hero-card ul { display: flex; flex-direction: column; gap: 1em; }
.hero-card li { display: flex; gap: .8em; align-items: flex-start; font-size: .96rem; color: var(--text-on-ink); }
.hero-card li .tick { color: var(--gold-light); font-weight: 700; }

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

/* ---------- Logos / prova social ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 2.4em 3em; align-items: center; justify-content: center; opacity: .85; }
.logo-strip span { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--text-on-paper-soft); }

/* ---------- Grids de cards ---------- */
.grid { display: grid; gap: 1.6em; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 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; } }

.card {
  background: #fff;
  border: 1px solid rgba(17,17,17,.07);
  border-radius: var(--radius);
  padding: 1.8em;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(17,17,17,.18); border-color: rgba(201,162,39,.4); }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--flame));
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1em;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--text-on-paper-soft); font-size: .95rem; margin-bottom: 0; }
.card .card-link { display: inline-block; margin-top: 1em; font-weight: 600; font-size: .9rem; color: var(--flame); }

/* ---------- Processo numerado ---------- */
.process-steps { counter-reset: step; display: grid; gap: 2em; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .process-steps { grid-template-columns: 1fr; } }
.process-step { position: relative; padding-top: 2.6em; }
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  display: block;
  margin-bottom: .3em;
}
.process-step h3 { font-size: 1.05rem; }
.process-step p { font-size: .92rem; color: var(--text-on-paper-soft); }

/* ---------- Cases ---------- */
.case-card {
  background: var(--ink);
  color: var(--text-on-ink);
  border-radius: var(--radius);
  padding: 2em;
  display: flex; flex-direction: column; gap: 1.2em;
}
.case-card .client { font-family: var(--font-display); font-size: 1.15rem; color: var(--text-on-ink); }
.case-card .niche { font-size: .8rem; color: var(--text-on-ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.case-metric { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold-light); }
.case-metric .fill {
  display: inline-block; min-width: 3.6em; border-bottom: 2px dashed var(--gold-dark);
  color: var(--text-on-ink-soft); font-family: var(--font-body); font-size: 1rem; vertical-align: middle;
}

/* ---------- Depoimento / quote ---------- */
.quote-block {
  border-left: 3px solid var(--gold);
  padding-left: 1.4em;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 500;
}

/* ---------- CTA banda ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--text-on-ink);
  border-radius: var(--radius);
  padding: clamp(2em, 6vw, 4em);
  display: flex; align-items: center; justify-content: space-between; gap: 2em; flex-wrap: wrap;
}
.cta-band h2 { color: var(--text-on-ink); margin-bottom: .2em; }

/* ---------- Formulário ---------- */
.form-grid { display: grid; gap: 1.2em; grid-template-columns: repeat(2, 1fr); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4em; color: var(--text-on-paper-soft); }
input, select, textarea {
  width: 100%;
  padding: .85em 1em;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(17,17,17,.15);
  background: #fff;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-on-paper);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .8rem; color: var(--text-on-paper-soft); margin-top: .8em; }
.form-status { margin-top: 1em; padding: .9em 1.1em; border-radius: var(--radius-sm); font-size: .92rem; display: none; }
.form-status.ok { display: block; background: rgba(46,160,67,.12); color: #1c6b2c; }
.form-status.err { display: block; background: rgba(224,67,14,.1); color: var(--flame-dark); }

/* ---------- Parceria CardápioWeb ---------- */
.partner-band {
  background: linear-gradient(120deg, rgba(201,162,39,.14), rgba(255,90,31,.06));
  border: 1px solid rgba(201,162,39,.4);
  border-radius: var(--radius);
  padding: clamp(1.6em, 4vw, 2.6em);
  display: flex; align-items: center; justify-content: space-between; gap: 2em; flex-wrap: wrap;
}
.partner-band .tag, .partner-strip .tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201,162,39,.15);
  padding: .3em .8em;
  border-radius: 999px;
  margin-bottom: .7em;
}
.partner-band h3 { font-size: 1.3rem; margin-bottom: .3em; }
.partner-band p { margin: 0; max-width: 52ch; color: var(--text-on-paper-soft); }

.partner-strip {
  border: 1px solid rgba(228,196,104,.35);
  background: rgba(228,196,104,.06);
  border-radius: var(--radius);
  padding: 1.6em clamp(1.2em, 4vw, 2em);
  display: flex; align-items: center; justify-content: space-between; gap: 1.6em; flex-wrap: wrap;
  margin-top: 3em;
}
.partner-strip .tag { color: var(--gold-light); background: rgba(228,196,104,.12); }
.partner-strip h4 { color: var(--text-on-ink); font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 .3em; }
.partner-strip p { margin: 0; font-size: .85rem; color: var(--text-on-ink-soft); max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-on-ink-soft); padding-block: 4em 2em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.4em; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--text-on-ink); font-family: var(--font-body); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1em; }
.footer-grid ul { display: flex; flex-direction: column; gap: .7em; font-size: .92rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3em; padding-top: 1.6em; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1em; font-size: .82rem; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  background: var(--flame);
  color: #fff;
  padding: .9em 1.3em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  box-shadow: 0 12px 30px -10px rgba(255,90,31,.6);
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-float svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Página interna: header simples ---------- */
.page-hero {
  padding-block: clamp(48px, 8vw, 88px) clamp(32px, 6vw, 56px);
  background: var(--ink);
  color: var(--text-on-ink);
}
.page-hero h1 { color: var(--text-on-ink); }

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; margin-inline: auto; }
.section-head { max-width: 62ch; margin-bottom: 3em; }
.section-head.center { text-align: center; }
.badge-list { display: flex; flex-wrap: wrap; gap: .6em; }
.badge-list span {
  font-size: .8rem; font-weight: 600; padding: .4em .9em; border-radius: 999px;
  background: rgba(201,162,39,.12); color: var(--gold-dark);
}
