/* =============================================
   RAPCHAN CUTELARIA & GRILL — CSS
   Paleta: Preto Carvão · Vermelho Brasa · Dourado · Aço
============================================= */

:root {
  --black:    #0d0d0d;
  --coal:     #1a1a1a;
  --ember:    #c0392b;
  --fire:     #e74c3c;
  --gold:     #c9a84c;
  --gold-lt:  #f0d080;
  --steel:    #d0d3d8;
  --cream:    #f5f0e8;
  --white:    #ffffff;
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'Playfair Display', serif;
  --font-body:    'Raleway', sans-serif;
  --radius:   8px;
  --shadow:   0 8px 40px rgba(0,0,0,.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

/* ── NAVBAR ─────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1rem 2rem;
  transition: background .35s, padding .35s, box-shadow .35s;
}
#navbar.scrolled {
  background: rgba(13,13,13,.97);
  padding: .6rem 2rem;
  box-shadow: 0 2px 24px rgba(0,0,0,.6);
}
.nav-container {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}
.nav-logo img { height: 96px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
#navbar.scrolled .nav-logo img { height: 72px; }

/* Oculta logo da navbar no desktop — aparece no hero */
@media (min-width: 769px) {
  .nav-logo { display: none; }
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: .9rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cream);
  position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width .25s;
}
.nav-links a:hover { color: var(--gold-lt); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--ember); color: var(--white);
  padding: .55rem 1.4rem; border-radius: 4px;
  font-weight: 700; font-size: .85rem; letter-spacing: .06em;
  text-transform: uppercase; transition: background .2s, transform .2s;
  white-space: nowrap;
  position: absolute; right: 0;
}
.nav-cta:hover { background: var(--fire); transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--cream); border-radius: 2px; transition: .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────── */
.hero {
  position: relative; width: 100%; min-height: 100vh;
  display: flex; align-items: center; justify-content: flex-start;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.06);
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1.0); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(13,13,13,.9) 40%, rgba(13,13,13,.4) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 660px; padding: 0 5vw;
  margin-top: 80px;
  animation: fadeUp .9s ease both;
}

/* Logo em destaque no hero (desktop) */
.hero-logo-wrap {
  position: absolute;
  top: 50%;
  right: 5vw;
  transform: translateY(-55%);
  z-index: 3;
  animation: heroLogoIn 1s .2s ease both;
}
.hero-logo {
  width: min(340px, 30vw);
  height: auto;
  filter:
    drop-shadow(0 0 40px rgba(201,168,76,.35))
    drop-shadow(0 8px 32px rgba(0,0,0,.7));
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: translateY(-45%) scale(.88); }
  to   { opacity: 1; transform: translateY(-55%) scale(1); }
}
/* No mobile: logo some do hero, volta para navbar */
@media (max-width: 768px) {
  .hero-logo-wrap { display: none; }
  .nav-logo { display: flex !important; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: .85rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: .75rem;
  animation: fadeUp .7s .15s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
  animation: fadeUp .7s .3s ease both;
}
.hero-accent { color: var(--gold); }
.hero-subtitle {
  margin-top: 1.2rem; font-size: 1.05rem; font-weight: 400;
  color: rgba(245,240,232,.8); max-width: 520px; line-height: 1.65;
  animation: fadeUp .7s .45s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem;
  animation: fadeUp .7s .6s ease both;
}
.btn-primary {
  background: var(--ember);
  color: var(--white);
  padding: .85rem 2.2rem;
  border-radius: 4px;
  font-weight: 700; font-size: .95rem;
  letter-spacing: .05em; text-transform: uppercase;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(192,57,43,.4);
}
.btn-primary:hover { background: var(--fire); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(231,76,60,.5); }
.btn-secondary {
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: .85rem 2.2rem;
  border-radius: 4px;
  font-weight: 700; font-size: .95rem;
  letter-spacing: .05em; text-transform: uppercase;
  transition: background .2s, color .2s, transform .2s;
}
.btn-secondary:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .4rem;
  font-size: .75rem; letter-spacing: .12em; color: rgba(245,240,232,.5);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}
.scroll-arrow {
  width: 20px; height: 20px; border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold); transform: rotate(45deg);
}

/* ── STRIP ──────────────────────────────── */
.diferenciais-strip {
  background: var(--coal);
  border-top: 1px solid rgba(201,168,76,.2);
  border-bottom: 1px solid rgba(201,168,76,.2);
  padding: 1.4rem 2rem;
}
.strip-container {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1.5rem;
}
.strip-item { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .9rem; letter-spacing: .04em; }
.strip-icon { font-size: 1.3rem; }
.strip-divider { width: 1px; height: 32px; background: rgba(201,168,76,.25); }

/* ── SOBRE ──────────────────────────────── */
.sobre { padding: 7rem 2rem; background: var(--black); }
.sobre-container {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.section-eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; line-height: 1.2; color: var(--white); margin-bottom: 1.5rem;
}
.sobre-desc { color: rgba(245,240,232,.75); line-height: 1.8; margin-bottom: 1rem; }
.sobre-stats { display: flex; gap: 2.5rem; margin-top: 2rem; }
.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat-number { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); }
.stat-label  { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: rgba(245,240,232,.5); }
.sobre-img-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.sobre-img-frame img { width: 100%; height: 480px; object-fit: cover; }
.sobre-badge {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  background: var(--ember); color: var(--white);
  padding: .5rem 1.2rem; border-radius: 4px;
  font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
}

/* ── PRODUTOS ───────────────────────────── */
.produtos { padding: 7rem 2rem; background: var(--coal); }
.produtos-container { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-subtitle { color: rgba(245,240,232,.65); max-width: 540px; margin: 0 auto; line-height: 1.7; }
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.produto-card {
  background: var(--black); border-radius: var(--radius);
  overflow: hidden; border: 1px solid rgba(201,168,76,.12);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.produto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  border-color: rgba(201,168,76,.4);
}
.produto-img-wrap { position: relative; overflow: hidden; height: 260px; }
.produto-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.produto-card:hover .produto-img-wrap img { transform: scale(1.05); }
.produto-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--ember); color: var(--white);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: .3rem .8rem; border-radius: 3px;
}
.produto-info { padding: 1.5rem; }
.produto-info h3 {
  font-family: var(--font-serif); font-size: 1.1rem;
  color: var(--white); margin-bottom: .6rem;
}
.produto-info p { font-size: .875rem; color: rgba(245,240,232,.65); line-height: 1.7; margin-bottom: 1.2rem; }
.btn-produto {
  display: inline-block;
  border: 1px solid var(--gold); color: var(--gold);
  padding: .55rem 1.3rem; border-radius: 4px;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; transition: background .2s, color .2s;
}
.btn-produto:hover { background: var(--gold); color: var(--black); }
.produto-card--cta {
  background: linear-gradient(135deg, #1e0a08 0%, #2d1006 100%);
  border-color: rgba(192,57,43,.4);
  display: flex; align-items: center; justify-content: center;
}
.cta-card-inner { padding: 2rem; text-align: center; }
.cta-fire { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.cta-card-inner h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--white); margin-bottom: .75rem; }
.cta-card-inner p { font-size: .875rem; color: rgba(245,240,232,.65); margin-bottom: 1.5rem; line-height: 1.65; }

/* ── DICAS ──────────────────────────────── */
.dicas { padding: 7rem 2rem; background: var(--black); }
.dicas-container { max-width: 1280px; margin: 0 auto; }
.section-header--light .section-title { color: var(--white); }
.dicas-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem;
}
.dica-card {
  background: var(--coal); border-radius: var(--radius);
  padding: 2rem; border: 1px solid rgba(201,168,76,.1);
  transition: border-color .3s, transform .3s;
}
.dica-card:hover { border-color: rgba(201,168,76,.3); transform: translateY(-4px); }
.dica-icon { font-size: 2rem; margin-bottom: 1rem; }
.dica-card h3 {
  font-family: var(--font-serif); font-size: 1.15rem;
  color: var(--gold); margin-bottom: 1rem;
}
.dica-card ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.dica-card li {
  font-size: .85rem; color: rgba(245,240,232,.7); line-height: 1.6;
  padding-left: 1.2rem; position: relative;
}
.dica-card li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--ember); font-weight: 700;
}
.dicas-img-full {
  margin-top: 3rem; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); max-width: 600px; margin-left: auto; margin-right: auto;
}
.dicas-img-full img { width: 100%; height: auto; display: block; }

/* ── ENTREGA ────────────────────────────── */
.entrega {
  background: linear-gradient(160deg, #1c0a04 0%, #0d0d0d 50%, #18080a 100%);
  position: relative; overflow: hidden;
}
.entrega-fire-line {
  display: flex; gap: 0; overflow: hidden;
  background: rgba(192,57,43,.08);
  border-top: 1px solid rgba(192,57,43,.25);
  padding: .6rem 0;
  justify-content: space-around;
  font-size: 1.4rem;
  animation: fireLine 3s linear infinite;
}
.entrega-fire-line--bottom {
  border-top: none;
  border-bottom: 1px solid rgba(192,57,43,.25);
  animation-direction: reverse;
}
@keyframes fireLine {
  0%   { letter-spacing: 0.5rem; filter: brightness(1); }
  50%  { letter-spacing: 1rem;   filter: brightness(1.3); }
  100% { letter-spacing: 0.5rem; filter: brightness(1); }
}
.entrega-inner {
  max-width: 860px; margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}
.entrega-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--white); line-height: 1.05;
  margin: .75rem 0 1rem;
}
.entrega-highlight {
  color: var(--gold);
  position: relative; display: inline-block;
}
.entrega-highlight::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ember), var(--gold));
  border-radius: 2px;
}
.entrega-desc {
  font-size: 1.05rem; color: rgba(245,240,232,.7);
  max-width: 520px; margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.entrega-pills {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: center; margin-bottom: 2.5rem;
}
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,168,76,.2);
  color: var(--cream);
  padding: .55rem 1.1rem; border-radius: 50px;
  font-size: .85rem; font-weight: 600;
  transition: background .2s, border-color .2s;
}
.pill:hover { background: rgba(201,168,76,.12); border-color: rgba(201,168,76,.4); }
.pill span { font-size: 1rem; }
.btn-entrega {
  display: inline-flex; align-items: center; gap: .75rem;
  background: #25D366; color: var(--white);
  padding: 1rem 2.4rem; border-radius: 6px;
  font-weight: 700; font-size: 1rem; letter-spacing: .04em;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 28px rgba(37,211,102,.35);
}
.btn-entrega:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 10px 36px rgba(37,211,102,.5); }

/* ── CONTATO ────────────────────────────── */
.contato { padding: 7rem 2rem; background: var(--coal); }
.contato-container { max-width: 860px; margin: 0 auto; }

.contato-top {
  text-align: center;
  margin-bottom: 3.5rem;
}
.contato-logo {
  width: 200px; max-width: 70%; margin: 0 auto 1.5rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.5));
}
.contato-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 900; color: var(--white);
  line-height: 1.2; margin: .5rem 0 1rem;
}
.contato-sub {
  font-size: 1rem; color: rgba(245,240,232,.65);
  line-height: 1.75; margin-bottom: 2rem;
}
.contato-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.contato-card {
  background: var(--black);
  border: 1px solid rgba(201,168,76,.15);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  transition: border-color .3s, transform .3s;
}
.contato-card:hover {
  border-color: rgba(201,168,76,.4);
  transform: translateY(-4px);
}
.contato-card-icon { font-size: 1.8rem; }
.contato-card strong {
  display: block; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold); margin-bottom: .15rem;
}
.contato-card span, .contato-card a {
  font-size: .875rem; color: rgba(245,240,232,.7); line-height: 1.5;
}
.contato-card a:hover { color: var(--gold-lt); }

@media (max-width: 700px) {
  .contato-cards { grid-template-columns: repeat(2, 1fr); }
  .contato-sub br { display: none; }
}
.btn-whatsapp-large {
  display: inline-flex; align-items: center; gap: .75rem;
  background: #25D366; color: var(--white);
  padding: 1rem 2.2rem; border-radius: 6px;
  font-weight: 700; font-size: 1rem; letter-spacing: .04em;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(37,211,102,.3);
}
.btn-whatsapp-large svg { width: 24px; height: 24px; }
.btn-whatsapp-large:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(37,211,102,.45); }

/* ── FOOTER ─────────────────────────────── */
.footer { background: var(--black); border-top: 1px solid rgba(201,168,76,.12); padding: 3rem 2rem; }
.footer-container { max-width: 1280px; margin: 0 auto; text-align: center; }
.footer-logo img { height: 105px; margin: 0 auto 1.5rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.footer-links { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { font-size: .85rem; color: rgba(245,240,232,.5); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: .8rem; color: rgba(245,240,232,.3); line-height: 1.8; }

/* ── WHATSAPP FLOAT ─────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
  animation: waBounce 2.5s ease-in-out infinite;
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.12); animation: none; }
.whatsapp-float svg { width: 30px; height: 30px; color: #fff; }
.whatsapp-pulse {
  position: absolute; inset: -6px; border-radius: 50%;
  background: rgba(37,211,102,.3);
  animation: waPulse 2s ease-out infinite;
}
@keyframes waBounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.whatsapp-tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--black); color: var(--white);
  padding: .4rem .9rem; border-radius: 4px;
  font-size: .8rem; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.whatsapp-tooltip::after {
  content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--black);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ── REVEAL ANIMATION ───────────────────── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .produtos-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-container { grid-template-columns: 1fr; gap: 3rem; }
  .contato-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: rgba(13,13,13,.98); padding: 1rem 2rem 2rem; }
  .nav-links a { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 1rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; margin-left: auto; }
  .nav-cta { display: none; }
  .dicas-grid { grid-template-columns: 1fr; }
  .produtos-grid { grid-template-columns: 1fr; }
  .entrega-container { flex-direction: column; gap: 2rem; }
  .strip-divider { display: none; }
  .strip-container { gap: 1rem; justify-content: flex-start; }
  .hero-content { padding: 0 1.5rem; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .sobre-stats { gap: 1.5rem; }
}
