/* --- SEÇÃO CARROSSEL (HERO SLIDER) --- */
.hero-slider {
    width: 100%;
    height: 83vh;
    color: white;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

:root {
    --swiper-theme-color: white;
}


/* --- SEÇÃO DE SERVIÇOS --- */
.reference-centers {
    padding: 80px 0;
    text-align: center;
    background-color: var(--light-bg-color);
}

.reference-centers h2 {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--dark-gray);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative; 
    overflow: hidden; 
}

.service-card .card-content {
    padding: 30px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(10, 131, 14, 0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #31b3ade0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.card-content i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card-content h3 {
    font-size: 1.3em;
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 15px;
}

.service-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 2;
}

.hover-link {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0;
    transform: scale(0.8);
    visibility: hidden;
}

.service-card:hover .hover-link {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

.hover-link:hover {
    background-color: var(--primary-color-darker);
    color: white;
}

/* --- SEÇÃO PRODUTOS E SERVIÇOS --- */
.products-services-section {
    padding: 80px 0;
    background-color: #fff;
}

.products-services-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.products-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-list-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.product-list-item:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}

.product-list-item i {
    font-size: 2.2em;
    color: var(--primary-color);
    width: 45px;
    text-align: center;
}

.product-list-text h3 {
    font-size: 1.2em;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    font-weight: 600;
    margin: 0 0 5px 0;
}

.product-list-text p {
    font-size: 1em;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}


/* --- SEÇÃO DE ESTATÍSTICAS --- */
.stats-section {
    padding: 80px 0;
    background-color: var(--light-bg-color); 
}

.stats-section .container {
    text-align: center;
}

.stats-section .section-header h2,
.products-services-section .section-header h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    font-size: 2.5em; /* Tamanho padronizado */
    font-weight: 700;
    margin-bottom: 15px; 
}

.section-description {
    font-size: 1.1em;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}
.section-description {
    font-size: 1.1em;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-item {
    padding: 15px;
    text-align: center;
}

.stat-info .stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3em;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-info .stat-label {
    font-size: 1em;
    color: var(--text-color);
    line-height: 1.4;
}

/* --- SEÇÃO BANNER --- */
.full-width-banner {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 131, 14, 0.75); 
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.banner-content .pre-title {
    display: block;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 1em;
}

.banner-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3em;
    line-height: 1.3;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-light-outline {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-light-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* --- SEÇÃO CONVÊNIOS --- */
.partners-section {
    padding: 80px 0;
    background-color: var(--light-bg-color);
}

.partners-section h2 {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5em;
    color: var(--dark-gray);
    margin-bottom: 50px;
}

.logo-swiper .swiper-wrapper {
    align-items: center;
}

.logo-swiper .swiper-slide img {
    max-width: 160px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-swiper .swiper-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* --- SEÇÃO NOTÍCIAS --- */
.news-section {
    padding: 80px 0;
    background-color: #fff;
}

.news-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-section .section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5em;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-meta {
    font-size: 0.8em;
    color: var(--text-color);
    text-transform: uppercase;
    font-weight: 600;
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3em;
    margin: 10px 0 15px 0;
}

.card-title a {
    text-decoration: none;
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-excerpt {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.read-more-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more-link:hover i {
    transform: translateX(5px);
}


/* --- SEÇÃO DE FORMULÁRIO DE AGENDAMENTO --- */
.appointment-form-section {
    padding: 80px 0;
    background-color: var(--light-bg-color);
}

.appointment-form-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.appointment-form-section .section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8em;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.appointment-form-section .section-header p {
    font-size: 1.1em;
    color: var(--text-color);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px 50px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}

#appointmentForm .form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

#appointmentForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1em;
}

#appointmentForm input[type="text"],
#appointmentForm input[type="date"],
#appointmentForm input[type="email"],
#appointmentForm select,
#appointmentForm textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Mulish', sans-serif;
    background-color: #fdfdfd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#appointmentForm input:focus,
#appointmentForm select:focus,
#appointmentForm textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 131, 14, 0.1);
}

#appointmentForm textarea {
    resize: vertical;
    min-height: 120px;
}

.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-top: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

#appointmentForm .btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#appointmentForm .btn-submit:hover {
    background-color: var(--primary-color-darker);
    transform: translateY(-2px);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .stats-grid, .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px 25px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .banner-content h2 {
        font-size: 2.2em;
    }
}

/* --- (Estilos anteriores) --- */

/* --- SEÇÃO DE SERVIÇOS --- */
.reference-centers {
    padding: 80px 0;
    text-align: center;
    background-color: var(--light-bg-color);
}
/* ... (estilos dos cards de serviço continuam iguais) ... */
.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative; 
    overflow: hidden; 
}
/* ... (demais estilos dos cards de serviço) ... */

/* --- SEÇÃO PRODUTOS E SERVIÇOS - NOVO LAYOUT DE ABAS --- */
.products-services-section {
    padding: 80px 0;
    background-color: #fff;
}

.products-services-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.product-tabs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tabs-list {
    display: flex;
    flex-direction: column;
}

.tab-item {
    border-bottom: 1px solid #e0e0e0;
}
.tab-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.tab-header {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 10px;
    cursor: pointer;
    text-align: left;
}

.tab-header h3 {
    font-size: 1.3em;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    font-weight: 500;
    margin: 0;
    transition: color 0.3s ease;
}

.tab-header i {
    font-size: 1.1em;
    color: var(--text-color);
    transition: transform 0.4s ease;
}

.tab-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
    padding: 0 10px;
}

.tab-content p {
    font-size: 1em;
    color: var(--text-color);
    line-height: 1.7;
    padding-bottom: 25px;
}

/* Estilos do item ATIVO */
.tab-item.active .tab-header h3 {
    color: var(--primary-color);
    font-weight: 600;
}

.tab-item.active .tab-header i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.tab-item.active .tab-content {
    max-height: 200px; /* Altura suficiente para o conteúdo */
}

.tabs-image-panel img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.tabs-image-panel img.fade-out {
    opacity: 0;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .product-tabs-container {
        grid-template-columns: 1fr; /* Empilha as colunas */
    }
    .tabs-image-panel {
        order: -1; /* Move a imagem para cima */
        margin-bottom: 40px;
    }
    /* ... (outras regras responsivas) ... */
}