@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary: #C1440E; /* Terracota/Laranja Queimado */
  --primary-dark: #A3380B;
  --secondary: #B5C476; /* Verde-oliva claro / aproximado */
  --secondary-light: #e4ead3;
  --bg-color: #FAFAFA;
  --text-dark: #2C2C2C;
  --text-light: #555555;
  --white: #FFFFFF;
  --border-radius: 12px;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 30px rgba(193, 68, 14, 0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================== COMPONENTS ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(193, 68, 14, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 68, 14, 0.4);
}

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

.btn-secondary:hover {
  background-color: #a4b365;
  transform: translateY(-2px);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

section {
  padding: 5rem 0;
}

/* ================== HEADER ================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  padding: 15px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 75px;
  border-radius: 8px; /* in case it has hard corners */
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
}

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
}

/* ================== HERO ================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%), url('../assets/img/banner.png') no-repeat center center/cover;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.hero-badges {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.badge-coupon {
  display: inline-flex;
  align-items: center;
  background-color: var(--secondary-light);
  color: var(--primary-dark);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px dashed var(--secondary);
}

.badge-coupon i {
  margin-right: 8px;
  color: var(--primary);
}

/* ================== POR QUE ULTRACONGELAMENTO ================== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sobre-img-wrapper {
  position: relative;
}

.sobre-img-wrapper img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.sobre-features {
  display: grid;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.feature-text p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ================== MAIS PEDIDOS ================== */
.mais-pedidos {
  background-color: var(--bg-color);
}

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

.card-prato {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.badge-mais-pedido {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  flex-grow: 1;
}

.card-body .btn {
  width: 100%;
  padding: 10px;
}

/* ================== GALERIA ================== */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.galeria-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.galeria-item:hover img {
  transform: scale(1.1);
}

.galeria-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 2rem 1rem 1rem;
  color: var(--white);
  opacity: 0;
  transition: var(--transition);
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

.galeria-overlay span {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
}

/* ================== FIDELIDADE ================== */
.fidelidade {
  background-color: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.fidelidade .section-title,
.fidelidade .section-subtitle {
  color: var(--white);
}

.fidelidade-card {
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--border-radius);
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  text-align: center;
  position: relative;
}

.fidelidade-card::before {
  content: "★";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.fidelidade-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.pontos-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.ponto-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.ponto-icon {
  width: 70px;
  height: 70px;
  background-color: var(--secondary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
}

.ponto-item span {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ================== PAGAMENTO ================== */
.pagamento {
  background-color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.pagamento-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.pagamento-grid i {
  font-size: 3rem;
  color: #888;
  transition: var(--transition);
}

.pagamento-grid i:hover {
  color: var(--primary);
}

.pagamento-grid img {
  height: 40px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.pagamento-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ================== AVALIACOES ================== */
.avaliacoes {
  background-color: var(--bg-color);
  text-align: center;
}

.rating-stars {
  color: #FFD700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.google-review-box {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.google-review-box h4 {
  font-size: 4rem;
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  margin: 0;
  line-height: 1;
}

.google-review-box p {
  color: var(--text-light);
  margin-top: 1rem;
}

/* ================== CTA FINAL ================== */
.cta-final {
  background: linear-gradient(rgba(193, 68, 14, 0.9), rgba(193, 68, 14, 0.9)), url('../assets/img/feijoada_light.jpeg') no-repeat center center/cover;
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
}

.cta-final h2 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-final p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.cta-final .btn-primary {
  background-color: var(--white);
  color: var(--primary);
  font-size: 1.2rem;
  padding: 16px 40px;
}

.cta-final .btn-primary:hover {
  background-color: var(--secondary-light);
}

/* ================== FOOTER ================== */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 90px;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.footer-logo p {
  color: #aaa;
  font-size: 0.9rem;
}

.footer-links h4,
.footer-social h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
}

.footer-links ul {
  display: grid;
  gap: 0.8rem;
}

.footer-links a {
  color: #aaa;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #777;
  font-size: 0.9rem;
}

/* ================== FLOATING WHATSAPP ================== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
}

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

/* ================== ANIMATIONS (Scroll Reveal) ================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================== FAQ ================== */
.faq-item {
  background: var(--bg-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item[open] .faq-question i {
  transform: rotate(180deg);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

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

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-answer {
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding-top: 80px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: 0.4s ease-in-out;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }
  
  .nav-links .btn-primary {
    margin-top: 1rem;
  }

  .hero {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('../assets/img/banner.png') no-repeat center center/cover;
    text-align: center;
    padding-top: 140px;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-badges {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .sobre-img-wrapper {
    order: -1;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .galeria-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .galeria-grid::-webkit-scrollbar {
    display: none;
  }
  
  .galeria-item {
    flex: 0 0 75%;
    scroll-snap-align: center;
  }
  
  .galeria-overlay {
    opacity: 1;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}
