/* =========================================================
   Infinity Menu — recriação do design Figma "Site - Infinity Menu"
   Paleta: amarelo #FEDD58 · laranja #FE914C · escuro #050505 / #1C1B1F
   Texto cinza #7B7786 · Fontes: Poppins (display), Manrope (UI), Lora (serif)
   ========================================================= */

:root {
  --yellow: #FEDD58;
  --yellow-600: #f5cf33;
  --orange: #FE914C;
  --ink: #050505;
  --ink-2: #1C1B1F;
  --ink-3: #0B0B0B;
  --gray: #7B7786;
  --gray-line: #E6E4EA;
  --bg: #ffffff;
  --bg-soft: #F7F6F8;
  --white: #ffffff;

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1180px;
  --shadow-sm: 0 4px 14px rgba(5,5,5,.06);
  --shadow-md: 0 14px 40px rgba(5,5,5,.10);
  --shadow-lg: 0 24px 60px rgba(5,5,5,.18);

  --font-display: "Poppins", system-ui, sans-serif;
  --font-ui: "Manrope", system-ui, sans-serif;
  --font-serif: "Lora", Georgia, serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ui);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

.section { padding: 92px 0; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--ink-2);
  letter-spacing: -.02em;
}
.section-sub { margin-top: 14px; color: var(--gray); font-size: clamp(16px, 2vw, 20px); font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 700; font-size: 16px;
  padding: 14px 26px; border: 2px solid transparent; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--yellow); color: #000; box-shadow: 0 8px 22px rgba(254,221,88,.35); }
.btn-primary:hover { background: var(--yellow-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(254,221,88,.45); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 17px; }
.btn-block { width: 100%; }

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.navbar.scrolled { background: rgba(5,5,5,.86); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(0,0,0,.25); padding: 12px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.brand-text { font-family: var(--font-ui); font-weight: 800; letter-spacing: .14em; font-size: 15px; color: #fff; line-height: 1; }
.brand-text span { display: block; font-size: 9px; letter-spacing: .42em; color: var(--yellow); font-weight: 600; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { color: rgba(255,255,255,.92); font-weight: 500; font-size: 16px; position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--yellow); transition: width .25s ease; }
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: 11px 22px; font-size: 15px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; z-index: 70; }
.hamburger span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.hero-overlay { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(5,5,5,.72) 0%, rgba(5,5,5,.55) 40%, rgba(5,5,5,.82) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 880px; padding-top: 90px; padding-bottom: 60px; }
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 7vw, 86px); line-height: 1.04; letter-spacing: -.02em;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero-title .accent-serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; }
.hero-title-serif { display: block; font-family: var(--font-serif); font-weight: 400; color: var(--yellow); font-size: .62em; margin-top: 6px; }
.hero-sub { margin-top: 22px; font-size: clamp(17px, 2.2vw, 20px); max-width: 620px; color: rgba(255,255,255,.92); font-weight: 400; }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ===================== PRODUTOS / BENTO ===================== */
.produtos { background: var(--bg); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 22px; }
.bento-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background-size: cover; background-position: center; box-shadow: var(--shadow-md);
  display: flex; align-items: flex-end; isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
}
.bento-card::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,5,5,0) 30%, rgba(5,5,5,.82) 100%); }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bento-tall { grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.bento-body { padding: 26px; color: #fff; }
.bento-body h3 { font-family: var(--font-ui); font-weight: 800; font-size: 22px; margin-bottom: 8px; }
.bento-body p { font-family: var(--font-serif); font-weight: 500; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.9); max-width: 46ch; }

/* ===================== SOBRE / DIFERENCIAIS ===================== */
.sobre { background: var(--ink); color: #fff; }
.sobre-lead {
  font-family: var(--font-ui); font-weight: 500;
  font-size: clamp(22px, 3.2vw, 36px); line-height: 1.32; letter-spacing: -.01em;
  max-width: 1000px; margin: 0 auto 60px; text-align: center;
}
.sobre-lead strong { color: var(--yellow); font-weight: 700; }
.diferenciais { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dif-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 28px 24px;
  transition: transform .25s ease, border-color .25s ease;
}
.dif-card:hover { transform: translateY(-4px); border-color: rgba(254,221,88,.45); }
.dif-num { font-family: var(--font-serif); font-weight: 400; font-size: 50px; color: var(--orange); line-height: 1; display: block; }
.dif-card h3 { font-family: var(--font-ui); font-weight: 700; font-size: 20px; margin: 16px 0 10px; color: #fff; }
.dif-card p { font-family: var(--font-serif); font-weight: 500; font-size: 16px; color: rgba(255,255,255,.66); line-height: 1.55; }

.stats { display: flex; justify-content: center; gap: clamp(30px, 8vw, 110px); margin-top: 64px; flex-wrap: wrap; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-family: var(--font-serif); font-weight: 700; font-size: clamp(40px, 6vw, 50px); color: var(--yellow); line-height: 1; }
.stat-label { font-family: var(--font-serif); font-weight: 500; font-size: 18px; color: rgba(255,255,255,.78); }

/* ===================== DEPOIMENTOS ===================== */
.depoimentos { background: var(--bg-soft); }
.google-rating { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-ui); }
.google-rating .stars { color: var(--yellow-600); letter-spacing: 2px; font-size: 20px; }
.google-rating strong { font-size: 20px; font-weight: 600; color: var(--ink-2); }
.google-rating span { color: var(--gray); font-weight: 600; }

.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 1fr);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 18px; scrollbar-width: thin;
}
.reviews::-webkit-scrollbar { height: 6px; }
.reviews::-webkit-scrollbar-thumb { background: #d9d6df; border-radius: 99px; }
.review-card {
  position: relative; background: #fff; border: 1px solid var(--gray-line);
  border-radius: var(--radius); padding: 30px 26px 24px; scroll-snap-align: start;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px;
}
.quote-mark { font-family: var(--font-serif); font-weight: 500; font-size: 80px; line-height: .4; color: #E2E2E2; height: 30px; }
.review-text { font-family: var(--font-serif); font-weight: 500; font-size: 19px; color: #555160; line-height: 1.45; flex: 1; }
.review-author { display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--ink-2); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.review-author strong { display: block; font-size: 16px; color: var(--ink-2); }
.review-author small { display: block; font-size: 12px; color: var(--gray); font-weight: 600; }
.review-source { margin-top: 2px; opacity: .8; }

/* ===================== PORTFÓLIO ===================== */
.portfolio { background: var(--bg); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.tab-btn {
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--gray-line);
  background: #fff; font-weight: 700; font-size: 15px; color: var(--ink-2);
  transition: all .2s ease;
}
.tab-btn:hover { border-color: var(--ink-2); }
.tab-btn.active { background: var(--yellow); border-color: var(--yellow); color: #000; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--bg-soft); aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.06); }

/* ===================== MARCAS ===================== */
.marcas { background: var(--bg-soft); padding: 64px 0; }
.marcas-title { text-align: center; font-family: var(--font-ui); font-weight: 700; font-size: clamp(22px, 3vw, 32px); color: var(--ink-2); margin-bottom: 40px; }

/* carrossel infinito de marcas */
.marquee {
  position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; width: max-content;
  gap: clamp(36px, 6vw, 80px);
  animation: marquee-scroll 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marca {
  font-family: var(--font-serif); font-style: italic; white-space: nowrap;
  font-size: clamp(18px, 2.4vw, 26px); color: #b4b0bd; font-weight: 600;
  transition: color .25s ease;
}
.marca:hover { color: var(--ink-2); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; gap: 16px 40px; }
}

/* ===================== ORÇAMENTO / FORM ===================== */
.orcamento { background: var(--ink); color: #fff; }
.orcamento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.badge { display: inline-block; background: rgba(254,221,88,.14); color: var(--yellow); border: 1px solid rgba(254,221,88,.4); padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.orcamento-title { font-family: var(--font-ui); font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; margin: 22px 0 16px; letter-spacing: -.01em; }
.orcamento-sub { color: rgba(255,255,255,.72); font-size: 17px; max-width: 52ch; }

.processo { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-direction: column; gap: 26px; }
.processo li { display: flex; gap: 18px; align-items: flex-start; }
.processo-num { font-family: var(--font-serif); font-weight: 400; font-size: 30px; color: var(--yellow); line-height: 1; flex-shrink: 0; width: 44px; }
.processo strong { font-family: var(--font-ui); font-weight: 700; font-size: 18px; display: block; margin-bottom: 4px; }
.processo p { color: rgba(255,255,255,.62); font-size: 15px; }

.orcamento-form-wrap { position: sticky; top: 100px; }
.orcamento-form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.form-title { font-family: var(--font-ui); font-weight: 700; font-size: 22px; margin-bottom: 22px; color: var(--ink-2); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-family: var(--font-serif); font-weight: 400; font-size: 15px; color: var(--ink); }
.field label small { color: var(--gray); font-size: 12px; }
.field input, .field select {
  font-family: var(--font-ui); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--gray-line); border-radius: 12px;
  background: #fff; transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.field input::placeholder { color: #b4b0bd; }
.field input:focus, .field select:focus { outline: none; border-color: var(--yellow-600); box-shadow: 0 0 0 3px rgba(254,221,88,.25); }
.orcamento-form .btn { margin-top: 8px; }
.form-feedback { margin-top: 14px; font-size: 14px; font-weight: 600; text-align: center; min-height: 18px; }
.form-feedback.ok { color: #1a8a4a; }
.form-feedback.err { color: #d23c3c; }
.form-privacy { margin-top: 12px; font-size: 12px; color: var(--gray); text-align: center; }

/* ===================== FOOTER ===================== */
.footer { background: var(--ink-3); color: rgba(255,255,255,.8); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { max-width: 38ch; color: rgba(255,255,255,.55); font-size: 15px; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--yellow); font-weight: 600; font-size: 15px; }
.footer-social:hover { color: #fff; }
.footer-col h4 { font-family: var(--font-ui); font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col a, .footer-col span { display: block; color: rgba(255,255,255,.6); font-size: 15px; margin-bottom: 10px; transition: color .2s ease; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom .container { color: rgba(255,255,255,.4); font-size: 13px; text-align: center; }

/* ===================== WHATSAPP FLOAT ===================== */
.wpp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .2s ease; animation: wppPulse 2.6s infinite;
}
.wpp-float:hover { transform: scale(1.08); }
.wpp-float img { width: 32px; height: 32px; }
@keyframes wppPulse { 0%,100% { box-shadow: 0 10px 26px rgba(37,211,102,.45); } 50% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,.08); } }

/* ===================== SCROLL REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .wpp-float { animation: none; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .orcamento-grid { grid-template-columns: 1fr; gap: 40px; }
  .orcamento-form-wrap { position: static; }
  .diferenciais { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); height: 100vh;
    background: rgba(5,5,5,.97); backdrop-filter: blur(10px);
    flex-direction: column; justify-content: center; gap: 28px; padding: 40px;
    transform: translateX(100%); transition: transform .35s ease; box-shadow: -10px 0 40px rgba(0,0,0,.4);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 20px; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .navbar { background: rgba(5,5,5,.86); backdrop-filter: blur(12px); }

  .bento { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .bento-tall, .bento-wide { grid-row: auto; grid-column: auto; }

  .diferenciais { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}
