/* ============================================================
   SAGGIO FOOD SERVICE — Sistema visual "spec-sheet industrial"
   Cores travadas: laranja #ff7700 · off-white #f7f7f7 · preto #000
   Tipografia: Rajdhani (display/números/labels) + Barlow (corpo)
   ============================================================ */

:root {
  /* Cores oficiais */
  --orange: #ff7700;
  --orange-600: #e66a00;
  --orange-dim: #c75c08;
  --black: #000000;
  --ink: #0a0a0a;
  --offwhite: #f7f7f7;
  --white: #ffffff;

  /* Neutros derivados (aço) */
  --steel-900: #121316;
  --steel-800: #1b1d21;
  --steel-700: #26282d;
  --steel-600: #3a3d44;
  --steel-400: #6e7178;
  --steel-300: #9a9da4;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-dark-soft: rgba(255, 255, 255, 0.07);
  --line-light: rgba(0, 0, 0, 0.12);
  --line-light-soft: rgba(0, 0, 0, 0.08);
  --paper-2: #eeeeec;

  /* Tipografia */
  --display: "Rajdhani", "Barlow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Layout */
  --maxw: 1320px;
  --gutter: clamp(20px, 4.5vw, 80px);
  --header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* GTM noscript nunca deve ser exibido (reforça o padrão do navegador) */
noscript { display: none !important; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--offwhite);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--orange); color: #fff; }

/* ---------- Tipografia base ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }

.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.012em;
}

/* Eyebrow / rótulo técnico monoespaçado */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--orange);
  display: inline-block;
}
.eyebrow--plain::before { display: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.dark { background: var(--black); color: var(--offwhite); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.steel { background: var(--steel-900); color: var(--offwhite); }
.paper { background: var(--offwhite); color: var(--ink); }

/* Section heading block */
.sec-head { max-width: 760px; }
.sec-head h2 {
  font-size: clamp(30px, 4.6vw, 56px);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 20px;
}
.sec-head p { margin-top: 18px; font-size: 1.05rem; color: var(--steel-400); }
.dark .sec-head p { color: #b6b8bd; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid var(--b);
  background: var(--b);
  color: #fff;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  position: relative;
}
.btn:hover { background: var(--orange-600); border-color: var(--orange-600); transform: translateY(-2px); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; color:#fff; transform: translateY(-2px); }
.paper .btn--ghost, .btn--ghost-dark { background: transparent; color: var(--ink); border-color: rgba(0,0,0,.3); }
.btn--ghost-dark:hover { background: rgba(0,0,0,.05); border-color: var(--ink); color: var(--ink); }

.btn--lg { padding: 18px 32px; font-size: 18px; }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--orange);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap .2s ease, border-color .2s ease;
}
.link-arrow:hover { gap: 14px; border-color: var(--orange); }

/* ============================================================
   HEADER
   ============================================================ */
.utility {
  background: var(--black);
  color: #cfd1d5;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line-dark-soft);
}
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.utility a:hover { color: #fff; }
.utility .u-left { display: flex; gap: 26px; align-items: center; }
.utility .u-dot { color: var(--orange); }
.utility .u-right { display: flex; gap: 22px; align-items: center; }
@media (max-width: 860px) { .utility .u-left .u-hide { display: none; } }
@media (max-width: 560px) { .utility { display: none; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 78px; width: auto; }
.brand .brand-sub {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: #c9cbcf;
  text-transform: uppercase;
  border-left: 1px solid var(--line-dark);
  padding-left: 13px;
  line-height: 1.35;
}
@media (max-width: 540px) { .brand .brand-sub { display: none; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #d6d7da;
  padding: 9px 13px;
  position: relative;
  transition: color .18s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 11px 18px; font-size: 14px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: #fff; width: 46px; height: 46px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav, .header-cta .btn-contracts { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--black); color: #fff;
  transform: translateY(-100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  padding: 22px var(--gutter) 40px;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav .mnav-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.mobile-nav .mnav-top img { height: 70px; }
.mobile-nav .mnav-close { background: none; border: 1px solid var(--line-dark); color: #fff; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; }
.mobile-nav nav { display: flex; flex-direction: column; margin-top: 18px; border-top: 1px solid var(--line-dark); }
.mobile-nav nav a {
  font-family: var(--display); text-transform: uppercase; font-weight: 600;
  font-size: 24px; letter-spacing: 0.01em; padding: 17px 0;
  border-bottom: 1px solid var(--line-dark-soft);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav nav a .idx { font-family: var(--mono); font-size: 12px; color: var(--orange); font-weight: 400; }
.mobile-nav .mnav-cta { margin-top: 28px; display: grid; gap: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--black); color: #cccdd1; border-top: 3px solid var(--orange); }
.site-footer .f-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
.site-footer .brand img { height: 84px; }
.site-footer h4 {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--steel-400); margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer ul a { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em; font-size: 15.5px; color: #d6d7da; }
.site-footer ul a:hover { color: var(--orange); }
.site-footer .f-blurb { color: var(--steel-400); font-size: 15px; max-width: 320px; margin-top: 18px; }
.site-footer .f-contact { display: grid; gap: 10px; font-family: var(--mono); font-size: 13px; color: #d6d7da; }
.site-footer .f-contact a:hover { color: var(--orange); }
.site-footer .f-contact .lbl { color: var(--steel-400); }
.site-footer .f-bottom {
  border-top: 1px solid var(--line-dark); padding-block: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--mono); font-size: 12px; color: var(--steel-400); flex-wrap: wrap;
}
@media (max-width: 900px) { .site-footer .f-top { grid-template-columns: 1fr 1fr; gap: 36px 28px; } }
@media (max-width: 520px) { .site-footer .f-top { grid-template-columns: 1fr; } }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  display: inline-flex; align-items: center; gap: 12px;
  background: #20b858; color: #fff;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 15px;
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.34); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float .wa-txt { white-space: nowrap; }
@media (max-width: 560px) { .wa-float { padding: 14px; } .wa-float .wa-txt { display: none; } }

/* ============================================================
   PLACEHOLDERS (fotos / logos / dados)
   ============================================================ */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px),
    var(--steel-800);
  border: 1px solid var(--line-dark);
  color: #8b8e95;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  overflow: hidden;
}
.ph.on-light {
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.03) 0 12px, transparent 12px 24px),
    var(--paper-2);
  border-color: var(--line-light); color: #8a8c90;
}
.ph .ph-tag { padding: 14px 18px; max-width: 80%; line-height: 1.4; }
.ph .ph-tag b { color: var(--orange); font-weight: 500; display: block; margin-bottom: 4px; }

.tbd {
  font-family: var(--mono); font-size: 0.7em; letter-spacing: 0.06em;
  color: var(--orange); border: 1px solid var(--orange); border-radius: 3px;
  padding: 1px 6px; vertical-align: middle; white-space: nowrap; text-transform: uppercase;
}

/* ============================================================
   UTIL
   ============================================================ */
.eyebrow.dark-orange { color: var(--orange); }
.kicker-num { font-family: var(--mono); color: var(--orange); font-size: 13px; letter-spacing: 0.1em; }

.hr-line { height: 1px; background: var(--line-light); border: 0; margin: 0; }
.dark .hr-line, .steel .hr-line { background: var(--line-dark); }

.fade-up { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.fade-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }
