/* =============================================
   PlayerFood - Food Delivery Styles
   Paleta: Vermelho #dc2626, Amarelo #facc15, Laranja #ea580c
   Google Fonts: Poppins (headings) + Nunito (body)
   Mobile-First Design
   ============================================= */

:root {
  --color-primary: #dc2626;
  --color-secondary: #facc15;
  --color-accent: #ea580c;
  --color-dark: #1a1a2e;
  --color-light: #fff8f0;
  --color-white: #ffffff;
  --color-gray: #6b7280;
  --color-gray-light: #f3f4f6;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- HEADER --- */
.site-header {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.logo span {
  color: var(--color-accent);
}

.nav-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.5rem;
  transition: right 0.4s ease;
  z-index: 1001;
}

.nav-menu.active {
  right: 0;
}

.nav-menu li {
  margin-bottom: 1rem;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark);
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-dark);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- HERO --- */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(250, 204, 21, 0.15);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--color-secondary);
}

.hero .subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-content p {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.92;
  margin-bottom: 1.2rem;
}

/* --- SECTIONS --- */
.section {
  padding: 2.5rem 1rem;
}

.section-alt {
  background: var(--color-white);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* --- CARDS GRID --- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--color-primary);
}

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

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- CTA BUTTON --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--color-secondary);
  color: var(--color-dark);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* --- BENEFITS --- */
.benefits-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-white);
}

.benefit-item h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-dark);
  margin-bottom: 0.3rem;
}

.benefit-item p {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.6;
}

/* --- HOW IT WORKS --- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
  counter-reset: step;
}

.step {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: -12px;
  left: 1.25rem;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
}

.step h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.92rem;
  color: var(--color-gray);
  line-height: 1.6;
}

/* --- CTA SECTION --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding: 3rem 1rem;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- AUTHORITY LINKS --- */
.authority-section {
  padding: 2rem 1rem;
  background: var(--color-gray-light);
}

.authority-section h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-align: center;
  color: var(--color-gray);
  margin-bottom: 1rem;
}

.authority-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.authority-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-gray);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.authority-links a:hover {
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

/* --- FOOTER --- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.8);
  padding: 2rem 1rem 1.5rem;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-content p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

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

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer-authority {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.footer-authority a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-authority a:hover {
  color: var(--color-secondary);
}

.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* --- WHATSAPP --- */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 25px rgba(37,211,102,0.6); }
  100% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
}

/* --- SITEMAP --- */
.sitemap-page {
  padding: 2rem 1rem;
  min-height: 70vh;
}

.sitemap-page h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.sitemap-list {
  max-width: 600px;
  margin: 0 auto;
}

.sitemap-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-gray-light);
}

.sitemap-list a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-dark);
}

.sitemap-list a:hover {
  color: var(--color-primary);
}

/* --- RESPONSIVE: TABLET (768px) --- */
@media (min-width: 768px) {
  .hero {
    padding: 4rem 2rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.05rem;
  }

  .section {
    padding: 3.5rem 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

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

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .hamburger {
    display: none;
  }

  .nav-menu {
    position: static;
    flex-direction: row;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 1.5rem;
  }

  .nav-close {
    display: none;
  }

  .nav-overlay {
    display: none;
  }
}

/* --- RESPONSIVE: DESKTOP (1024px) --- */
@media (min-width: 1024px) {
  .hero {
    padding: 5rem 2rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .header-container {
    padding: 1rem 2rem;
  }
}
