/* ========== Página inicial: hero, tabs e depoimentos em HTML5/CSS puro (sem jQuery) ========== */

/* ---- Hero slider nativo ---- */
.hero-native {
    position: relative;
    height: 700px;
    overflow: hidden;
    overflow-anchor: none; /* evita que a troca de slide dispare scroll da página */
}
.hero-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-out;
}
.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}
.hero-slide .container { height: 100%; display: flex; align-items: center; justify-content: center; }
.hero-slide .caption { text-align: center; padding-top: 0; position: relative; z-index: 2; width: 100%; }
.hero-slide .row { justify-content: center; width: 100%; }
.hero-slide .white-background {
    background: rgba(255,255,255,0.92);
    padding: 40px 48px 36px;
    border-radius: 16px;
    margin-bottom: 24px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.hero-slide .title-text {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
    color: #1976d2;
}
.hero-slide .caption p {
    font-size: 20px;
    font-weight: 500;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.5;
    color: #333;
}
.hero-slide .white-background ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    text-align: left;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.hero-slide .white-background ul li {
    margin: 10px 0;
    font-size: 18px;
    line-height: 1.4;
}
.hero-slide .banner-btn { margin-top: 8px; }
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}
.hero-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.hero-dots button:hover { background: rgba(255,255,255,0.7); }
.hero-dots button.is-active { background: #fff; }

@media (max-width: 992px) {
    .hero-slide .title-text { font-size: 42px; }
    .hero-slide .white-background { padding: 32px 28px; max-width: 100%; }
    .hero-slide .caption p { font-size: 18px; }
    .hero-slide .white-background ul li { font-size: 16px; }
}
@media (max-width: 768px) {
    .hero-native { height: 520px; }
    .hero-slide .title-text { font-size: 28px; }
    .hero-slide .white-background { padding: 24px 20px; }
    .hero-slide .caption p { font-size: 16px; }
    .hero-slide .white-background ul li { font-size: 15px; }
}

/* ---- Tabs "Nossos Processos" (radio + CSS, zero JS) ---- */
.process-tabs-native { margin-top: 1rem; }
.process-tabs-native .tab-radios { display: none; }
.process-tabs-native .tab-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.process-tabs-native .tab-labels li { margin: 0; }
.process-tabs-native .tab-labels label {
    display: block;
    padding: 12px 20px;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    border: 2px solid #e0e0e0;
    transition: border-color 0.2s, background 0.2s;
}
.process-tabs-native .tab-labels label:hover { border-color: #3e57d0; background: #f8f9ff; }
.process-tabs-native #process-tab-1:checked ~ .tab-labels label[for="process-tab-1"],
.process-tabs-native #process-tab-2:checked ~ .tab-labels label[for="process-tab-2"],
.process-tabs-native #process-tab-3:checked ~ .tab-labels label[for="process-tab-3"],
.process-tabs-native #process-tab-4:checked ~ .tab-labels label[for="process-tab-4"] { border-color: #3e57d0; background: #e8ebfa; color: #3e57d0; }
.process-tabs-native .tab-panels .tab-panel {
    display: none;
}
.process-tabs-native #process-tab-1:checked ~ .tab-panels .tab-panel-1,
.process-tabs-native #process-tab-2:checked ~ .tab-panels .tab-panel-2,
.process-tabs-native #process-tab-3:checked ~ .tab-panels .tab-panel-3,
.process-tabs-native #process-tab-4:checked ~ .tab-panels .tab-panel-4 { display: block; animation: tabFadeIn 0.3s ease; }
@keyframes tabFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---- Depoimentos: scroll nativo ---- */
.testimonial-native-wrap {
    overflow: hidden;
    padding: 0 0 20px 0;
}
.testimonial-native-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 0 20px 0;
    scrollbar-width: thin;
}
.testimonial-native-track::-webkit-scrollbar { height: 8px; }
.testimonial-native-track::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.testimonial-native-item {
    flex: 0 0 320px;
    scroll-snap-align: start;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.testimonial-native-item .rating-box ul { list-style: none; padding: 0; margin: 0 0 12px 0; display: flex; gap: 4px; color: #f0c14b; }
.testimonial-native-item .testimonial-content p { margin: 0 0 12px 0; line-height: 1.6; }
.testimonial-native-item .bio-info h3 { margin: 0; font-size: 14px; font-weight: 700; color: #333; }
.testimonial-native-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.testimonial-native-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.testimonial-native-dots button.is-active { background: #3e57d0; }

@media (min-width: 768px) {
    .testimonial-native-item { flex: 0 0 380px; }
}
@media (min-width: 1200px) {
    .testimonial-native-item { flex: 0 0 calc(33.333% - 16px); }
}
