/* ===== Zazule Google Reviews Carousel ===== */
.zzr-block{
  font-family: Inter, system-ui, -apple-system, sans-serif;
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 32px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

/* Header (desktop: bloco estático; mobile: botão acordeão) */
.zzr-header{
  margin-bottom: 16px;
}
button.zzr-header{
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: default;
  border-radius: 0;
}
.zzr-header-inner{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
}
.zzr-header-text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.zzr-mob-chev{
  display: none;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.zzr-shield{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f0fdf9;
  color: #0d9488;
  border: 1px solid #d1faf4;
  flex-shrink: 0;
  margin-bottom: 8px;
}
.zzr-shield svg{
  width: 25px;
  height: 25px;
}
.zzr-title{
  display: block;
  margin: 0 0 6px;
  font: 700 2rem Inter, sans-serif;
  color: #1e293b;
}
.zzr-subtitle{
  display: block;
  margin: 0 0 12px;
  font: 400 13px/1.5 Inter, sans-serif;
  color: #64748b;
}

/* Google badge */
.zzr-badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font: 600 12px Inter, sans-serif;
  color: #334155;
}
.zzr-badge-stars{ color: #f59e0b; letter-spacing: 1px; }

/* Carousel */
.zzr-carousel-wrap{
  overflow: hidden;
  margin-bottom: 14px;
}
.zzr-track{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  transition: opacity .25s;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: pan-y pinch-zoom;
}
.zzr-card{
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
}
.zzr-card.is-visible{ display: flex; }

/* Stars */
.zzr-stars{
  display: flex;
  gap: 1px;
  font-size: 16px;
  color: #f59e0b;
  line-height: 1;
}
.zzr-stars span{ font-size: 14px; }

/* Review text */
.zzr-text{
  margin: 0;
  font: 400 13px/1.55 Inter, sans-serif;
  color: #334155;
  flex: 1;
}

/* Author */
.zzr-author{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.zzr-avatar{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0d9488;
  color: #fff;
  font: 700 13px Inter, sans-serif;
  flex-shrink: 0;
}
.zzr-author strong{
  font: 600 12px Inter, sans-serif;
  color: #0d9488;
}

/* Navigation */
.zzr-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.zzr-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.zzr-btn:hover{
  background: #f0fdf9;
  border-color: #0d9488;
  color: #0d9488;
}
.zzr-btn:disabled{
  opacity: .35;
  cursor: default;
}
.zzr-counter{
  font: 500 13px Inter, sans-serif;
  color: #64748b;
  min-width: 40px;
  text-align: center;
}

@media (max-width: 480px){
  .zzr-track{ grid-template-columns: 1fr; }
}

/* Mobile-only extra info (subtitle + badge shown inside accordion panel) */
.zzr-mob-extra{
  display: none;
}
/* Desktop-only elements: visible by default, hidden on mobile */
.zzr-desktop-only{}

/* Acordeão mobile — avaliações */
@media (max-width: 640px){
  .zzr-desktop-only{
    display: none !important;
  }
  .zzr-mob-extra{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 8px;
  }
  button.zzr-header{
    cursor: pointer;
    margin-bottom: 0;
    padding: 0;
  }
  .zzr-header-inner{
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }
  .zzr-header-text{
    flex: 1;
    min-width: 0;
  }
  .zzr-title{
    font-size: 1.35rem;
    margin-bottom: 0;
    line-height: 1.3;
    color: #0d9488;
  }
  .zzr-mob-chev{
    display: block;
    align-self: center;
    margin-top: 0;
  }
  .zzr-block:not(.is-open) .zzr-mob-chev{
    transform: rotate(45deg);
  }
  .zzr-block.is-open .zzr-mob-chev{
    transform: rotate(-135deg);
  }
  .zzr-block:not(.is-open) .zzr-acc-panel{
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
    transition: max-height .38s ease, opacity .22s ease;
  }
  .zzr-block.is-open .zzr-acc-panel{
    max-height: 3200px;
    opacity: 1;
    pointer-events: auto;
    padding-top: 6px;
    transition: max-height .45s ease, opacity .28s ease;
  }
  .zzr-block{
    padding: 14px 12px;
    border-radius: 16px;
  }
  .zzr-block.is-open{
    padding: 14px 12px;
  }
  .zzr-carousel-wrap{
    margin-bottom: 8px;
  }
  .zzr-card{
    padding: 10px;
    gap: 6px;
  }
  .zzr-text{
    font-size: 12px;
    line-height: 1.45;
  }
  .zzr-author{
    margin-top: 2px;
    gap: 6px;
  }
  .zzr-avatar{
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  .zzr-nav{
    gap: 10px;
  }
  .zzr-btn{
    width: 30px;
    height: 30px;
  }
  .zzr-counter{
    font-size: 12px;
  }
  .zzr-subtitle{
    font-size: 12px;
    margin-bottom: 4px;
  }
  .zzr-badge{
    font-size: 11px;
    padding: 4px 8px;
  }
}

@media (min-width: 641px){
  .zzr-block .zzr-acc-panel{
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    pointer-events: auto !important;
    padding-top: 0 !important;
  }
  .zzr-mob-chev{ display: none !important; }
  .zzr-mob-extra{ display: none !important; }
  .zzr-desktop-only{ display: flex !important; }
}

/* ===== Zazule Features 2×2 grid ===== */
.zazule-features-section{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.zzf-block{
  font-family: Inter, system-ui, -apple-system, sans-serif;
  max-width: 900px;
  margin: 10px auto 0;
  padding: 0 16px 40px;
}
.zzf-title{
  text-align: center;
  font: 700 3rem Inter, sans-serif;
  color: #1e293b;
  margin: 0 0 24px;
}
.zzf-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.zzf-card{
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s, box-shadow .2s;
  min-height: 0;
}
.zzf-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
}
.zzf-card--reviews{
  padding: 0;
  overflow: hidden;
  border: none;
  background: transparent;
  box-shadow: none;
}
.zzf-card--reviews:hover{
  transform: none;
  box-shadow: none;
}
.zzf-card--reviews .zzr-block{
  height: 100%;
  border-radius: 20px;
}
/* Alinhar o título do bloco de avaliações ao teal dos outros cards ("Como funciona") */
.zzf-card--reviews .zzr-title{
  color: #0d9488;
}
.zzf-card-title{
  margin: 0;
  font: 700 2rem Inter, sans-serif;
  color: #0d9488;
}
.zzf-card-text{
  margin: 0;
  font: 400 17px/1.65 Inter, sans-serif;
  color: #475569;
  flex: 1;
}

/* Acordeão mobile — cards de texto */
.zzf-acc-trigger{
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.zzf-acc-trigger-title{
  margin: 0;
  font: 700 1.35rem Inter, sans-serif;
  color: #0d9488;
  flex: 1;
  min-width: 0;
}
.zzf-acc-chev{
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.zzf-acc-panel{
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}
.zzf-card:not(.is-open) .zzf-acc-chev{
  transform: rotate(45deg);
}
.zzf-card.is-open .zzf-acc-chev{
  transform: rotate(-135deg);
}

/* WhatsApp button */
.zzf-whatsapp-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #4a5e00;
  color: #fff !important;
  text-decoration: none !important;
  font: 700 16px/1 Inter, sans-serif;
  transition: background .15s, transform .15s;
  align-self: flex-start;
  margin-top: 8px;
}
.zzf-whatsapp-btn:hover{
  background: #3b4c00;
  transform: translateY(-1px);
}
.zzf-whatsapp-btn svg{ flex-shrink: 0; width: 20px; height: 20px; }

@media (max-width: 640px){
  .zzf-block{
    padding: 0 6px 32px;
  }
  .zzf-grid{ grid-template-columns: 1fr; gap: 12px; }
  .zzf-title{ font-size: 1.75rem; margin-bottom: 16px; }
  .zzf-card{
    padding: 14px 12px;
    min-height: auto;
    border-radius: 16px;
    gap: 0;
  }
  /* Reviews card: strip outer padding so .zzr-block fills full width (avoids double-padding) */
  .zzf-card--reviews{
    padding: 0;
    border-radius: 16px;
  }
  .zzf-card.is-open{
    padding: 16px 10px;
    margin-left: -4px;
    margin-right: -4px;
    width: calc(100% + 8px);
    max-width: none;
    box-sizing: border-box;
  }
  .zzf-acc-trigger{ display: flex; }
  .zzf-acc-panel .zzf-card-title{
    display: none;
  }
  .zzf-card:not(.is-open) .zzf-acc-panel{
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
    transition: max-height .38s ease, opacity .22s ease;
  }
  .zzf-card.is-open .zzf-acc-panel{
    max-height: 2400px;
    opacity: 1;
    pointer-events: auto;
    padding-top: 12px;
    transition: max-height .45s ease, opacity .28s ease;
  }
  .zzf-card-title{ font-size: 1.35rem; }
  .zzf-card-text{ font-size: 16px; }
  .zzf-card--reviews .zzr-block{
    padding-left: 12px;
    padding-right: 12px;
  }
  .zzf-card--reviews .zzr-block.is-open{
    margin-left: -4px;
    margin-right: -4px;
    width: calc(100% + 8px);
    max-width: none;
    box-sizing: border-box;
  }
}

@media (min-width: 641px){
  .zzf-acc-trigger{ display: none !important; }
  .zzf-acc-panel .zzf-card-title{ display: block !important; }
  .zzf-card .zzf-acc-panel{
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    pointer-events: auto !important;
    padding-top: 0 !important;
  }
}
