/* ==========================================
   PERSONAL GRILL - STYLE.CSS
   ========================================== */

:root {
  --color-primary: #b73919;
  --color-secondary: #ed7c44;
  --color-dark: #100f0f;
  --color-light: #f5f5f5;
  --color-gray-secondary: #635d5b;
  --color-gray-light: #acaaa9;
  --color-gray-border: #e6e6e6;
  --color-accent: linear-gradient(135deg, #ed7c44, #b73919);
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --header-height: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--color-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.gradient-brand { background: linear-gradient(135deg, #ed7c44, #b73919); }
.gradient-brand-text {
  background: linear-gradient(135deg, #ed7c44, #b73919);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.gradient-dark { background: linear-gradient(135deg, #100f0f, #1a1a1a); }

/* ─── HEADER ─── */
header {
  background: var(--color-dark);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
}
.logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  color: #fff;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover { color: var(--color-secondary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.btn-whatsapp:hover { opacity: 0.9; }

/* ─── WHATSAPP FLOATING BUTTON ─── */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  animation: pulse-vibrante 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  animation: none;
}
.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@keyframes pulse-vibrante {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
@media (max-width: 600px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 16px;
    bottom: 16px;
  }
}

/* Hamburger menu (mobile) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, var(--color-dark), #1a1a1a);
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero h1 { font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 1rem; max-width: 800px; }
.hero p { font-size: clamp(1rem, 2vw, 1.125rem); margin-bottom: 2rem; color: var(--color-gray-light); max-width: 600px; }
.hero-sm { min-height: 40vh; padding: 4rem 2rem; }

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(183, 57, 25, 0.4); }
.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ─── SEÇÕES ─── */
section { padding: 4rem 2rem; }
section h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 2rem; text-align: center; }
.container { max-width: var(--max-width); margin: 0 auto; }

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }
.card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: #fff; font-size: 1.5rem;
}
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--color-gray-secondary); font-size: 0.95rem; line-height: 1.6; }

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}
.projeto-item { border-radius: 12px; overflow: hidden; position: relative; }
.projeto-item img { width: 100%; height: 250px; object-fit: cover; }

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.depoimento-card {
  background: var(--color-light);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
}
.depoimento-card .stars { color: #f59e0b; margin-bottom: 0.75rem; font-size: 1.1rem; }
.depoimento-card p { font-style: italic; line-height: 1.6; margin-bottom: 1rem; color: var(--color-gray-secondary); }
.depoimento-card .author { font-weight: 600; }
.depoimento-card .role { font-size: 0.875rem; color: var(--color-gray-light); }

.faq-item { border-bottom: 1px solid var(--color-gray-border); padding: 1.25rem 0; }
.faq-question {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-answer { padding-top: 0.75rem; color: var(--color-gray-secondary); line-height: 1.6; display: none; }

.cta {
  background: linear-gradient(135deg, var(--color-dark), #1a1a1a);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.cta p { color: var(--color-gray-light); margin-bottom: 2rem; }

footer {
  background: var(--color-dark);
  color: #fff;
  padding: 3rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
footer a { color: var(--color-gray-light); }
footer a:hover { color: #fff; }
.footer-grid h4 { margin-bottom: 1rem; color: #fff; }
.footer-grid li { margin-bottom: 0.5rem; }
footer .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-gray-light);
  font-size: 0.9rem;
}
footer .contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #222;
  color: var(--color-gray-light);
  font-size: 0.875rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}
.trust-item .number { font-size: 2rem; font-weight: 700; color: var(--color-primary); display: block; }
.trust-item .label { color: var(--color-gray-secondary); font-size: 0.9rem; }

.about-section { display: flex; gap: 3rem; align-items: center; flex-wrap: wrap; }
.about-text { flex: 1; min-width: 300px; }
.about-image { flex: 1; min-width: 300px; }
.about-image img { border-radius: 12px; width: 100%; height: auto; display: block; box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}
.contact-info h2 { text-align: left; }
.contact-info-item { margin-bottom: 1.5rem; }
.contact-info-item h4 { margin-bottom: 0.25rem; }
.contact-info-item p { color: var(--color-gray-secondary); }
.contact-info-item a { color: var(--color-primary); font-weight: 600; }
.contact-info-item .hint { font-size: 0.85rem; color: var(--color-gray-light); }

.map-placeholder {
  background: #e0e0e0;
  height: 400px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  text-align: center;
}

.servicos-section { display: flex; flex-direction: column; gap: 4rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.diff-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.diff-icon svg { width: 48px; height: 48px; stroke: var(--color-primary); }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.galeria-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s, box-shadow 0.4s;
  cursor: pointer;
}
.galeria-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.cursos-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s, box-shadow 0.4s;
  cursor: pointer;
}
.cursos-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

/* ─── EVENTOS BUFFET SALINEIRO ─── */
.eventos-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.eventos-lista li {
  background: var(--color-light);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--color-gray-secondary);
  font-weight: 500;
}

.eventos-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.eventos-galeria img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  display: block;
  transition: transform 0.4s, box-shadow 0.4s;
}
.eventos-galeria img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

@media (max-width: 768px) {
  .eventos-galeria { grid-template-columns: 1fr; }
  .eventos-galeria img { height: 240px; }
  .eventos-lista { gap: 0.5rem 1rem; }
  .eventos-lista li { font-size: 0.85rem; padding: 0.4rem 1rem; }
}

/* ─── BLOG ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-cat {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card-body h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.blog-card-body p { color: var(--color-gray-secondary); font-size: 0.9rem; line-height: 1.6; }

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.video-card video {
  width: 100%;
  display: block;
  background: #000;
  max-height: 400px;
  object-fit: cover;
}
.video-card-body {
  padding: 1.5rem;
}
.video-card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.video-card-body p {
  color: var(--color-gray-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
  .videos-grid { grid-template-columns: 1fr; }
}

/* ─── POST (BLOG INDIVIDUAL) ─── */
.post-container { padding: 4rem 2rem; }
.post-container h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.post-content { line-height: 1.9; color: var(--color-gray-secondary); }
.post-content h2 { font-size: 1.3rem; margin: 2rem 0 1rem; text-align: left; color: var(--color-dark); }
.post-content p { margin-bottom: 1.2rem; }
.post-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--color-light);
  border-radius: 12px;
  text-align: center;
}
.post-cta h3 { margin-bottom: 0.5rem; }
.post-cta p { color: var(--color-gray-secondary); margin-bottom: 1.5rem; }

/* ─── DEPOIMENTOS CARROSSEL ─── */
.depoimentos-carousel {
  position: relative;
  max-width: 650px;
  margin: 0 auto;
  overflow: hidden;
}
.depoimentos-track {
  display: flex;
  transition: transform 0.6s ease;
}
.depoimento-card {
  flex: 0 0 100%;
  text-align: center;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  box-sizing: border-box;
}
.depoimento-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 3px solid var(--color-primary);
}
.depoimento-card .stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.depoimento-card blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gray-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
  quotes: none;
}
.depoimento-card .author {
  font-weight: 700;
  color: var(--color-dark);
  font-size: 1rem;
}
.depoimento-card .role {
  color: var(--color-gray-light);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--color-primary);
}

@media (max-width: 768px) {
  .depoimento-card { padding: 1.5rem 1rem; }
  .depoimento-card blockquote { font-size: 0.9rem; }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
}

/* ─── RESPONSIVO ─── */
@media (max-width: 768px) {
  header { padding: 0 1rem; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-dark);
    flex-direction: column;
    padding: 1rem 2rem 2rem;
    gap: 0;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav-links.active { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links a::after { display: none; }
  .btn-whatsapp { font-size: 0.85rem; padding: 0.4rem 0.8rem; }
  .hero { min-height: 70vh; padding: 4rem 1rem; }
  section { padding: 3rem 1rem; }
  .about-section { flex-direction: column !important; }
  .about-text, .about-image { min-width: 100%; }
  .cta { padding: 4rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .map-placeholder { height: 280px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 0.95rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 2rem 0; }
  .trust-item .number { font-size: 1.5rem; }
  .servicos-grid { grid-template-columns: 1fr; }
  .projetos-grid { grid-template-columns: 1fr; }
  .depoimentos-grid { grid-template-columns: 1fr; }
  .depoimentos-carousel { padding: 0 1rem; }
  .depoimento-card { padding: 1.5rem; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
  .hero div[style*="flex"] { flex-direction: column; align-items: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero { min-height: 60vh; }
  .hero h1 { font-size: 2rem; }
}
