.tabs {
    padding: 0 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.tabs-scroll {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 16px 0;
   justify-content: center;
    margin-left: 16px;
    scroll-snap-type: x mandatory;
    display: flex;
    overflow-x: auto;
    gap: 16px;

    /* troca o margin-left por padding nas duas laterais */
    padding: 16px;
    margin: 0;

    /* faz o ínicio/fim “snappar” com folga interna */
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: 16px;
    scroll-padding-inline-end: 16px;
}

.tab-card {
    min-width: 120px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 16px;
    text-align: center;
    scroll-snap-align: start;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.tab-card.active {
    box-shadow: 0 0 0 2px #00000010;
}

.tab-card:hover {
    transform: translateY(-2px);
}

.tab-card .icon {
    margin-bottom: 8px;
    height: 40px;
}

.tab-card .icon img {
    max-height: 100%;
    max-width: 100%;
     border-radius: 12px;
    object-fit: contain;
}

.tab-card .title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.tab-card .subtitle {
    font-size: 0.85rem;
    color: #777;
}

.tabs-panels {
    margin-top: 32px;
}

.panel {
    display: none;
}

.panel.active {
    display: block;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 16px;
    text-align: center;
}

.card img {
    width: 900%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 12px;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.card p {
    font-size: 0.95rem;
    color: #555;
}

.instagram-section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.instagram-section iframe.snapwidget-widget {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* Mantém formato quadrado, pode ajustar para 16 / 9, etc. */
  border: none;
  display: block;
}

html {
  scroll-behavior: smooth;
}
