/* ═══════════════════════════════════════════════════════════
   N DELIVERY — editorial premium / appetite & ember
   Display: Bricolage Grotesque · Accent: Fraunces italic
   Body: Instrument Sans
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #14100b;
  --ink-2: #1d1811;
  --ink-soft: #2a2318;
  --paper: #f6efe3;
  --paper-2: #efe6d5;
  --cream: #f4ede1;
  --muted: #a99f8d;
  --muted-dark: #6f6553;
  --orange: #ff5a00;
  --orange-hot: #ff7a2f;
  --orange-deep: #c93e00;
  --wa-green: #22c55e;

  --font-display: "Bricolage Grotesque", sans-serif;
  --font-serif: "Fraunces", serif;
  --font-body: "Instrument Sans", sans-serif;

  --container: 1160px;
  --radius: 20px;
  --shadow-pop: 0 20px 60px -20px rgba(20, 16, 11, .45);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

/* grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

/* ── Typography helpers ── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.accent { color: var(--orange); }

.accent-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 420;
  letter-spacing: 0;
  color: var(--orange);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange-hot);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 2.2em;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow-dark { color: var(--orange-deep); }

.section-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  max-width: 34em;
  color: var(--muted);
}
.section-light .section-lead { color: var(--muted-dark); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 1em 1.9em;
  border-radius: 100px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(115deg, var(--orange-hot), var(--orange) 55%, var(--orange-deep));
  color: #fff;
  box-shadow: 0 12px 34px -10px rgba(255, 90, 0, .55);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 44px -12px rgba(255, 90, 0, .7);
}
.btn-ghost {
  color: var(--cream);
  border: 1.5px solid rgba(244, 237, 225, .28);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-hot); transform: translateY(-3px); }
.btn-lg { font-size: 1.15rem; padding: 1.15em 2.4em; }

/* ═══════════ HEADER ═══════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.scrolled {
  background: rgba(20, 16, 11, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(244, 237, 225, .08);
}
.header-inner {
  width: min(var(--container), 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.05rem;
}

.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand-mark { width: 30px; height: 30px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.02em;
}
.brand-word em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 420;
  color: var(--orange-hot);
}

.main-nav { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--cream);
  opacity: .82;
  transition: opacity .2s, color .2s;
}
.main-nav a:hover { opacity: 1; color: var(--orange-hot); }
.nav-cta {
  opacity: 1 !important;
  font-family: var(--font-display);
  font-weight: 700;
  padding: .6em 1.3em;
  border-radius: 100px;
  border: 1.5px solid var(--orange);
  color: var(--orange-hot) !important;
  transition: background .25s, color .25s;
}
.nav-cta:hover { background: var(--orange); color: #fff !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .5rem; z-index: 110; }
.nav-toggle span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .25s;
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  padding: clamp(7rem, 14vh, 10rem) 0 4rem;
  background:
    radial-gradient(60% 50% at 78% 30%, rgba(255, 90, 0, .16), transparent 70%),
    radial-gradient(40% 35% at 12% 80%, rgba(255, 122, 47, .07), transparent 70%),
    var(--ink);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -20%; right: -12%;
  width: 55vw; height: 55vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(255, 90, 0, .22), transparent 65%);
  filter: blur(20px);
  animation: pulse 7s ease-in-out infinite alternate;
}
@keyframes pulse { to { transform: scale(1.12); opacity: .8; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  position: relative;
}

.hero h1 {
  font-size: clamp(2.9rem, 7.2vw, 5.6rem);
}
.hero h1 .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 420;
  background: linear-gradient(100deg, var(--orange-hot), var(--orange) 60%, #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 32em;
}
.hero-sub strong { color: var(--cream); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

/* dish visual */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.dish-ring {
  position: absolute;
  width: 112%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 122, 47, .35);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.dish {
  width: min(88%, 420px);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55));
  animation: floaty 6s ease-in-out infinite alternate;
}
@keyframes floaty { to { transform: translateY(-14px) rotate(2deg); } }

.float-chip {
  position: absolute;
  font-size: .82rem;
  font-weight: 500;
  color: var(--cream);
  background: rgba(29, 24, 17, .85);
  border: 1px solid rgba(255, 122, 47, .35);
  backdrop-filter: blur(8px);
  padding: .55em 1em;
  border-radius: 100px;
  box-shadow: var(--shadow-pop);
  white-space: nowrap;
}
.float-chip strong {
  font-family: var(--font-display);
  color: var(--orange-hot);
  margin-right: .3em;
}
.chip-a { top: 8%; left: -2%; animation: floaty 5s 1s ease-in-out infinite alternate; }
.chip-b { bottom: 10%; right: -2%; animation: floaty 7s .5s ease-in-out infinite alternate; }

/* stats */
.hero-stats {
  margin-top: clamp(3rem, 7vh, 5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(244, 237, 225, .12);
}
.stat {
  padding: 1.6rem 1rem 0;
  border-left: 1px solid rgba(244, 237, 225, .12);
}
.stat:first-child { border-left: 0; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  color: var(--orange-hot);
  line-height: 1;
  letter-spacing: -.02em;
}
.stat span {
  display: block;
  margin-top: .5rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  background: var(--orange);
  transform: rotate(-1.2deg) scale(1.02);
  padding: .8rem 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 40px -10px rgba(255, 90, 0, .5);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: scroll 26s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff;
  white-space: nowrap;
}
.marquee i { font-style: normal; color: rgba(255, 255, 255, .65); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ═══════════ SECTIONS base ═══════════ */
section { position: relative; }
.section-light {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(4.5rem, 10vh, 7.5rem) 0;
}
.section-dark {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(4.5rem, 10vh, 7.5rem) 0;
}
.section-head { max-width: 46em; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 1rem; }
.section-head .section-lead { margin-top: .4rem; }

/* ═══════════ PILARES ═══════════ */
.pillars { overflow: hidden; }
.decor-wheat {
  position: absolute;
  top: -30px; right: -70px;
  width: clamp(180px, 24vw, 330px);
  opacity: .5;
  transform: rotate(14deg);
  pointer-events: none;
}
.pillar-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.pillar {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  background: #fffdf8;
  border: 1px solid rgba(20, 16, 11, .08);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -22px rgba(20, 16, 11, .3);
  border-color: rgba(255, 90, 0, .4);
}
.pillar-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 420;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
}
.pillar h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.pillar p { color: var(--muted-dark); font-size: .97rem; }

/* ═══════════ EQUIPE ═══════════ */
.team {
  background:
    radial-gradient(45% 55% at 88% 15%, rgba(255, 90, 0, .12), transparent 70%),
    var(--ink);
  overflow: hidden;
}
.team-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.team h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 1.2rem; }
.team .section-lead strong { color: var(--orange-hot); }

.role-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.8rem 0 2.2rem;
}
.role-cloud li {
  font-size: .85rem;
  font-weight: 500;
  padding: .5em 1.05em;
  border-radius: 100px;
  border: 1px solid rgba(244, 237, 225, .2);
  color: var(--cream);
  transition: border-color .25s, background .25s, transform .25s;
}
.role-cloud li:hover {
  border-color: var(--orange);
  background: rgba(255, 90, 0, .12);
  transform: translateY(-2px);
}

.team-visual { position: relative; display: grid; place-items: center; }
.chef-frame {
  position: relative;
  width: min(100%, 380px);
  border-radius: 200px 200px var(--radius) var(--radius);
  background: linear-gradient(170deg, rgba(255, 122, 47, .25), rgba(255, 90, 0, .06) 60%, transparent);
  border: 1px solid rgba(255, 122, 47, .3);
  padding-top: 1.5rem;
  overflow: hidden;
}
.chef { width: 100%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }
.chip-c { bottom: 8%; left: -4%; animation: floaty 6s ease-in-out infinite alternate; }

/* ═══════════ PLATAFORMAS ═══════════ */
.platforms-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.platforms h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 1.2rem; }
.platforms-visual { display: grid; place-items: center; }
.phone {
  width: min(78%, 330px);
  filter: drop-shadow(0 34px 50px rgba(20, 16, 11, .35));
  animation: floaty 7s ease-in-out infinite alternate;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem 2.2rem;
  margin-top: 2.2rem;
  padding: 1.4rem 1.8rem;
  background: #fffdf8;
  border: 1px solid rgba(20, 16, 11, .08);
  border-radius: var(--radius);
}
.logo-row img {
  height: 30px;
  width: auto;
  filter: grayscale(1) opacity(.6);
  transition: filter .3s, transform .3s;
}
.logo-row img:hover { filter: none; transform: scale(1.08); }

/* ═══════════ CORPORATIVO ═══════════ */
.corporate {
  background:
    radial-gradient(50% 60% at 10% 90%, rgba(255, 90, 0, .1), transparent 70%),
    var(--ink-2);
}
.corp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.corp-card {
  background: rgba(244, 237, 225, .04);
  border: 1px solid rgba(244, 237, 225, .1);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform .4s var(--ease-out), border-color .3s, background .3s;
}
.corp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 47, .5);
  background: rgba(255, 90, 0, .07);
}
.corp-icon { font-size: 2rem; display: block; margin-bottom: 1rem; }
.corp-card h3 { font-size: 1.25rem; margin-bottom: .5rem; color: var(--orange-hot); }
.corp-card p { font-size: .93rem; color: var(--muted); }

/* ═══════════ RESULTADOS ═══════════ */
.results .section-head { max-width: 54em; }
.big-stat {
  font-size: clamp(4rem, 12vw, 8.5rem);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .95;
  background: linear-gradient(110deg, var(--orange-deep), var(--orange) 50%, var(--orange-hot));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.video-shell { max-width: 860px; margin-inline: auto; }
.video-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -25px rgba(20, 16, 11, .5);
}
.video-facade img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.video-facade:hover img { transform: scale(1.05); }
.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 82px; height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 14px 40px -8px rgba(255, 90, 0, .7);
  transition: transform .35s var(--ease-out);
}
.video-facade:hover .play-btn { transform: scale(1.12); }
.video-shell iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -25px rgba(20, 16, 11, .5);
}
.mission {
  max-width: 44em;
  margin: 3rem auto 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 420;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--muted-dark);
}

/* ═══════════ CTA FINAL ═══════════ */
.final-cta {
  text-align: center;
  padding: clamp(5rem, 12vh, 8.5rem) 0;
  background:
    radial-gradient(55% 65% at 50% 0%, rgba(255, 90, 0, .2), transparent 70%),
    var(--ink);
}
.final-cta h2 {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  margin-bottom: 2.2rem;
}
.final-cta .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 420;
}
.final-cta .eyebrow { justify-content: center; }
.cta-note {
  margin-top: 1.2rem;
  font-size: .85rem;
  color: var(--muted);
}

/* ═══════════ FOOTER ═══════════ */
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid rgba(244, 237, 225, .08);
  padding: 2.4rem 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.footer-nav { display: flex; gap: 1.6rem; }
.footer-nav a {
  font-size: .9rem;
  color: var(--muted);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--orange-hot); }
.footer-credit { font-size: .82rem; color: var(--muted); }
.footer-credit a { color: var(--orange-hot); }

/* ═══════════ WHATSAPP FLOAT ═══════════ */
.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 12px 34px -8px rgba(34, 197, 94, .65);
  transition: transform .3s var(--ease-out);
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); animation-play-state: paused; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 34px -8px rgba(34, 197, 94, .65), 0 0 0 0 rgba(34, 197, 94, .45); }
  50% { box-shadow: 0 12px 34px -8px rgba(34, 197, 94, .65), 0 0 0 14px rgba(34, 197, 94, 0); }
}

/* ═══════════ REVEAL ANIMATIONS ═══════════ */
/* só esconde quando o JS está ativo (html.js) — sem JS, tudo visível */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
html.js .reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════
   RESPONSIVO
   ═══════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: .5rem; }
  .dish { width: min(62%, 320px); }
  .chip-a { left: 4%; }
  .chip-b { right: 4%; }

  .team-grid, .platforms-grid { grid-template-columns: 1fr; }
  .platforms-visual { order: 1; }
  .team-visual { margin-top: 1rem; }
  .chef-frame { width: min(80%, 340px); }
  .chip-c { left: 2%; }

  .corp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  /* mobile nav */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(20, 16, 11, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease-out);
  }
  .main-nav a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 1;
  }
  body.nav-open .main-nav { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .hero { padding-top: 6rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; padding-inline: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(244, 237, 225, .12); padding-left: 1.2rem; }
  .stat:nth-child(n+3) { margin-top: .6rem; }

  .pillar-list { grid-template-columns: 1fr; }
  .pillar { padding: 1.6rem 1.4rem; }

  .corp-grid { grid-template-columns: 1fr; }

  .hero-actions .btn { width: 100%; }
  .final-cta .btn-lg { width: min(100%, 380px); }

  .logo-row { gap: 1.1rem 1.6rem; padding: 1.2rem 1.3rem; }
  .logo-row img { height: 24px; }

  .footer-grid { flex-direction: column; text-align: center; }

  .decor-wheat { width: 150px; right: -50px; opacity: .3; }
}
