/* ============================================
   BATATAS INSANAS - Paleta oficial
   Destaque #FFC845 | Transição #F27420 | Base #D93D26
   Corpo #E2B36D #1A1A1A | Complementares #F9F5F0 #4A4A4A #8CB916 #633917
   ============================================ */

:root {
  /* Cores principais da paleta */
  --destaque: #FFC845;
  --transicao: #F27420;
  --base: #D93D26;
  --corpo-claro: #E2B36D;
  --corpo-escuro: #1A1A1A;
  --complementar-creme: #F9F5F0;
  --complementar-cinza: #4A4A4A;
  --complementar-verde: #8CB916;
  --complementar-marrom: #633917;

  /* Uso no layout */
  --primary: var(--destaque);
  --primary-hover: var(--transicao);
  --secondary: var(--base);
  --bg-light: var(--complementar-creme);
  --bg-white: #ffffff;
  --bg-dark: var(--complementar-marrom);
  --bg-warm: var(--corpo-claro);
  --text-dark: var(--corpo-escuro);
  --text-muted: var(--complementar-cinza);
  --border: rgba(99, 57, 23, 0.2);
  --shadow: 0 4px 20px rgba(26, 26, 26, 0.08);
  --shadow-hover: 0 8px 30px rgba(26, 26, 26, 0.12);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow {
  max-width: 640px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--corpo-escuro);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.3);
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-outline:hover {
  background: var(--text-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--bg-light);
  border-color: var(--bg-light);
  color: var(--bg-light);
}

.btn-outline-light:hover {
  background: var(--complementar-creme);
  color: var(--corpo-escuro);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-nav {
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
}

/* Top bar */
.topbar {
  background: var(--complementar-marrom);
  color: var(--complementar-creme);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-link {
  color: var(--bg-light);
  text-decoration: none;
}

.topbar-link:hover {
  color: var(--destaque);
}

.topbar-divider {
  opacity: 0.5;
}

.topbar-text {
  opacity: 0.9;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow);
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
}

.nav-logo .logo-img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--base);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 4rem;
  background: var(--bg-dark) url("../assets/capa-delivery.jpeg") center center no-repeat;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(217, 61, 38, 0.4) 50%, rgba(99, 57, 23, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 10vw, 5rem);
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--bg-light);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--text-dark);
  letter-spacing: 0.03em;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title-light {
  color: #fff;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.85);
}

/* Nossos Destaques - 3 cards (Our Specials) */
.specials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.special-card {
  display: flex;
  flex-direction: column;
  height: 400px;
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 179, 109, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.special-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.special-card-img {
  flex: 0 0 auto;
  height: 52%;
  min-height: 0;
  overflow: hidden;
  background: var(--bg-light);
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.special-card:hover .special-card-img {
  height: 100%;
}

.special-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.special-card:hover .special-card-img img {
  transform: scale(1.08);
}

.special-card-body {
  flex: 1;
  min-height: 0;
  padding: 1.5rem;
  transition: opacity 0.3s ease;
}

.special-card:hover .special-card-body {
  opacity: 0;
}

.special-card-title {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.special-card-subtitle {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.special-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  min-width: 160px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2rem 1.25rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform var(--transition);
}

.step:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}

.step-icon {
  display: block;
  color: var(--destaque);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.step h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.step p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.step-arrow {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.25rem;
}

@media (max-width: 700px) {
  .step-arrow {
    display: none;
  }
}

/* Menu tabs */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.menu-tab {
  padding: 0.6rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}

.menu-tab:hover,
.menu-tab.active {
  color: var(--base);
  border-color: var(--base);
  background: rgba(255, 200, 69, 0.15);
}

/* Menu grid (Our Special Burns style) */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.menu-card {
  display: flex;
  flex-direction: column;
  height: 320px;
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.menu-card:not(:has(.menu-card-img)) {
  height: auto;
  min-height: 100px;
}

.menu-card.hidden {
  display: none;
}

.menu-card-img {
  flex: 0 0 auto;
  height: 52%;
  min-height: 0;
  overflow: hidden;
  background: var(--bg-light);
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:has(.menu-card-img):hover .menu-card-img {
  height: 100%;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:has(.menu-card-img):hover .menu-card-img img {
  transform: scale(1.08);
}

.menu-card-body {
  flex: 1;
  min-height: 0;
  padding: 1.25rem;
  transition: opacity 0.3s ease;
}

.menu-card:has(.menu-card-img):hover .menu-card-body {
  opacity: 0;
}

.menu-card-bebida {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100px;
}

.menu-card-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.menu-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.menu-card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
}

.toppings-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-center {
  text-align: center;
}

/* Testimonial */
.testimonial-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
  font-size: 1.75rem;
  color: var(--destaque);
  margin-bottom: 1rem;
  letter-spacing: 0.15em;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
}

/* FAQ */
.faq-list {
  margin-top: 1rem;
}

.faq-item {
  background: var(--bg-white);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--transicao);
  font-size: 1.25rem;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--complementar-marrom);
  color: var(--complementar-creme);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  margin-bottom: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-logo {
  max-width: 160px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.footer-tagline {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  opacity: 0.95;
}

.footer-delivery-note {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1.25rem;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--destaque);
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-social .social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}

.social-link:hover {
  background: var(--destaque);
  color: var(--corpo-escuro);
}

.social-link i {
  font-size: 1.1rem;
}

.footer-copy {
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.7;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
