/* RESET E VARIÁVEIS DO TEMPLATE */
:root {
  /* ESTAS 2 CORES PODEM SER ALTERADAS PARA CADA CLIENTE */
  --primary-color: #c0392b; /* Vermelho Quente (Padaria) */
  --secondary-color: #f39c12; /* Dourado/Pão (Padaria) */
  
  /* Cores Fixas do Template (Fundo Branco Conforme Requisito) */
  --bg-color: #ffffff;
  --bg-alt: #f8f9fa; /* Um branco levemente acinzentado para separar seções, mantendo a limpeza */
  --text-color: #212529;
  --text-light: #6c757d;
  --white: #ffffff;
  --black: #000000;
  --border-color: #eaeaea;
  
  /* Utilities */
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.03);
  --shadow-md: 0 8px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 15px 35px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

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

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

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

ul { list-style: none; }

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

/* H1 Oculto para SEO apenas */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Utilitários de Texto */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.text-muted { color: var(--text-light); }
.highlight { color: var(--primary-color); }

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  gap: 8px;
  text-decoration: none;
}

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

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

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  color: var(--white);
}

.btn-share {
  background-color: var(--secondary-color);
  color: var(--text-color);
}
.btn-share:hover {
  background-color: var(--text-color);
  color: var(--white);
  transform: translateY(-2px);
}

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

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--header-text);
  letter-spacing: -0.5px;
}

.social-nav {
  display: flex;
  gap: 15px;
}

.social-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-alt);
  color: var(--header-text);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.social-nav a:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  border-color: var(--primary-color);
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 70px; /* offset do header */
}

.hero-swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65); /* Escurece para dar destaque ao texto */
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* INFO SECTION */
.info-section {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.info-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border-bottom: 4px solid var(--primary-color);
  transition: var(--transition);
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.info-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.info-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ABOUT & SERVICES */
.about-services-section {
  padding: 80px 0;
  background-color: var(--bg-alt); /* Leve cinza para diferenciar do branco total */
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.services-swiper {
  padding: 20px 10px 50px 10px;
}

.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 0 auto 20px auto;
  transition: var(--transition);
  /* Fallback para navegadores sem JS, no JS aplicaremos o hex alpha */
  background-color: rgba(0,0,0,0.05); 
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: var(--white);
}

.service-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* TESTIMONIALS */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--bg-color); /* Volta ao branco puro */
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--secondary-color);
  opacity: 0.2;
  position: absolute;
  top: -10px;
  right: 20px;
}

.stars {
  color: #ffc107; /* Estrelas sempre amarelas */
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 25px;
  color: var(--text-color);
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.client-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.client-name {
  font-size: 1rem;
  font-weight: 600;
}

.client-role {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* FOOTER */
.footer {
  background-color: var(--bg-alt); /* Leve cinza para encerrar a página */
  padding: 60px 0 20px 0;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  gap: 15px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--text-color);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.footer-links a:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Swiper Customize */
.swiper-button-next, .swiper-button-prev {
  color: var(--primary-color) !important;
}
.swiper-pagination-bullet-active {
  background-color: var(--primary-color) !important;
}

/* MEDIA QUERIES (Mobile-First reforço) */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .header-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero {
    padding-top: 120px; /* Mais espaço para o header em mobile */
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* AGENDA CARROSSEL INFINITO */
.agenda-section {
  padding: 60px 0;
  background-color: var(--bg-alt);
  overflow: hidden;
  text-align: center;
}

.agenda-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.agenda-divider {
  width: 80px;
  height: 6px;
  background-color: var(--secondary-color);
  margin: 0 auto 40px auto;
  border-radius: 10px;
}

@keyframes scroll-agenda {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-300px * 5)); } 
}

.agenda-slider { 
  width: 100%; 
  overflow: hidden; 
  position: relative; 
  padding: 20px 0;
}

.agenda-slide-track {
  display: flex;
  width: calc(300px * 10); 
  animation: scroll-agenda 25s linear infinite;
}

.agenda-slide-track:hover { 
  animation-play-state: paused; 
}

.agenda-slide { 
  width: 300px; 
  padding: 0 15px; 
  flex-shrink: 0;
}

.agenda-slide img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.agenda-slide img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
  @keyframes scroll-agenda-desktop {
      0% { transform: translateX(0); }
      100% { transform: translateX(calc(-400px * 5)); }
  }
  .agenda-slide { width: 400px; }
  .agenda-slide-track { 
      width: calc(400px * 10); 
      animation: scroll-agenda-desktop 35s linear infinite;
  }
}

/* SINGLE INFO CARD */
.single-info-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 40px;
}
.single-info-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
}
@media (min-width: 768px) {
  .single-info-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .info-item {
    flex: 1;
  }
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.info-icon-small {
  font-size: 2rem;
  color: var(--primary-color);
  margin-top: 5px;
}

/* WHATSAPP FLUTUANTE & PULSO */
.whatsapp-fixed {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #25D366;
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-fixed:hover {
  transform: translateY(-5px);
  color: white;
  box-shadow: 0 15px 25px rgba(37, 211, 102, 0.6);
}
.pulse-btn {
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* FAQ ACORDEÃO */
.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
}
.faq-btn:focus { outline: none; }
.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary-color);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 15px;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* MAPA */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 50px;
  border: 4px solid white;
}
