/* --- Variáveis Globais --- */
:root {
    --primary: #FF9100;
    --primary-hover: #E68200;
    --secondary: #2C3E50;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
    --font-main: 'Inter', sans-serif;
}

/* --- Reset e Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Layout e Utilitários --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5%;
}

.text-orange {
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 145, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 145, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.btn-pulse {
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 145, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 145, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 145, 0, 0);
    }
}

/* --- Header --- */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    padding: 4% 0%;
    z-index: 1000;

}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-weight: 800;
    color: var(--secondary);
}

.logo-top {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo-bottom {
    font-size: 0.9rem;
    color: var(--primary);
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    margin-right: 2%;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {

    background: linear-gradient(135deg, #FFF8E1 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--secondary);
    font-weight: 800;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}



.hero-image-container {
    position: relative;
    z-index: 1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    border: 8px solid var(--white);
}

.hero-img {
    width: 100%;
    max-width: 450px;
    height: auto;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.card-left {
    top: 10%;
    left: -20px;
}

.card-right {
    bottom: 10%;
    right: -20px;
    animation-delay: 3s;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.stats-mobile {
    display: none;
}

/* --- Seções Comuns --- */
.section-header {
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    color: var(--secondary);

}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 15px;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Benefícios --- */
.benefits {
    padding: 20px 0;
    /* Reduzido */
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.benefit-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-hover);
    border-color: #FFE0B2;
    transform: translateY(-5px);
}

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

.benefit-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.benefit-desc {
    font-size: 0.95rem;
    color: var(--text-light);
}


.specialties-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;

}

.specialties-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.specialties-text p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* --- Planos (Pricing) --- */
.pricing-section {
    padding: 10px 0;
    /* Reduzido */
    background: var(--bg-light);
}

.pricing-carousel-wrapper {
    position: relative;
    padding: 0 60px;
    /* Espaço para setas */
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.pricing-grid::-webkit-scrollbar {
    display: none;
}

/* Chrome/Safari */

.pricing-card {
    flex: 0 0 calc(50% - 15px);
    /* 2 cards por vez no desktop */
    scroll-snap-align: center;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Tema Prata */
.silver-theme {
    border-top: 6px solid #BDC3C7;
}

.silver-theme .card-header {
    background: linear-gradient(180deg, #F0F3F4 0%, #FFFFFF 100%);
}

.silver-theme h3 {
    color: #2C3E50;
}

.silver-theme .amount {
    color: #7F8C8D;
}

.silver-theme .btn-silver {
    background: #95A5A6;
    color: white;
}

.silver-theme .btn-silver:hover {
    background: #7F8C8D;
}

/* Tema Diamond */
.silver-theme {
    border-top: 6px solid #BDC3C7;
}

.diamond-theme .card-header {
    background: linear-gradient(180deg, #FFF3E0 0%, #FFFFFF 100%);
}

.diamond-theme h3 {
    color: var(--primary);
}

.diamond-theme .amount {
    color: var(--primary);
}

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

.diamond-theme .btn-diamond:hover {
    background: var(--primary-hover);
}

.card-dependentes{
background: linear-gradient(to right, #f8a63a 5%, #FFFFFF 90%);
   
    color: black;
    padding: 2%;
    border-radius: 10px;
    border: 1px dashed black;
}

.card-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.card-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin: 15px 0;
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 5px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.card-subtitle {
    color: var(--text-light);
    font-weight: 500;
}

.card-benefits {
    padding: 30px;
    flex-grow: 1;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-dark);
}

/* Ícones Grandes Forçados */
.benefit-item i {
    font-size: 2.5rem !important;
    /* Grande */
    min-width: 40px;
    text-align: center;
}

.silver-theme .benefit-item i {
    color: #27AE60;
}

/* Verde check */
.diamond-theme .benefit-item i {
    color: #27AE60;
}

/* Verde check */
.diamond-theme .benefit-item i {
    color: #27AE60;
}

.diamond-theme .benefit-item #gold {
    color: yellow;
}

.highlight-diamond {
    background: #FFF3E0;
    padding: 10px;
    border-radius: 10px;
    margin: 0 -10px;
}

.highlight-diamond i {
    color: var(--primary) !important;
}

/* Coroa Laranja */

.card-action {
    padding: 30px;
    text-align: center;
    background: var(--bg-light);
}

.card-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Setas de Navegação Minimalistas */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #999;
    /* Cinza discreto */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

#prevPlanBtn {
    left: 0;
}

#nextPlanBtn {
    right: 0;
}

/* --- Contador de Descontos --- */
.discount-counter-section {
    text-align: center;
    padding: 20px 10px;
    background: linear-gradient(to right, #FFF8E1 20%, #FFFFFF 100%);
    border-radius: 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 40px auto;
    max-width: 800px;
}

.counter-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
    margin-bottom: 5px;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin: 10px 0;
}

/* --- Parceiros (Chamada) --- */
.partners-call {
    padding: 20px 0;
    border: 1px solid #eee;
    background: linear-gradient(to right, #FFF8E1 20%, #FFFFFF 100%);
    border-radius: 20px;
    text-align: center;
}

/* --- Sobre Nós --- */
.about-us-section {
    padding: 60px 0;
    background: var(--white);
    text-align: center;
}

.about-us-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.0rem;
    margin-top: 2%;
    color: var(--text-light);
}

/* --- Footer --- */
.main-footer {
    background: var(--secondary);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- MODAIS --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-lg {
    max-width: 900px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 10;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--secondary);
}

.close-modal {
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

.modal-body {
    padding: 30px;
}

/* Grid Especialidades no Modal */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.specialty-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.specialty-card:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.specialty-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.specialty-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

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

/* Grid Parceiros no Modal */
.partners-grid-modal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.partner-item img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    /* Logos grandes */
    object-fit: contain;
    filter: none !important;
    /* Sem filtro P&B */
    transition: var(--transition);
}

.partner-item img:hover {
    transform: scale(1.1);
}

/* Detalhes Especialidade */
.detail-content {
    text-align: center;
}

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

.detail-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.detail-benefits {
    text-align: left;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.detail-benefits h4 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.detail-benefits ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.detail-benefits ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #27AE60;
    position: absolute;
    left: 0;
}

.detail-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* --- Responsividade --- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .pricing-card {
        flex: 0 0 85%;
    }

    /* 1 card por vez no tablet */
    .specialties-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .btn-header {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-image-wrapper {
        margin-top: 40px;
    }

    .stats-mobile {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-top: 40px;
    }

    .floating-card {
        display: none;
    }

    /* Remove cards flutuantes no mobile */

    .pricing-carousel-wrapper {
        padding: 0 10px;
    }

    .carousel-btn {
        display: none;
    }

    /* Remove setas no mobile (scroll nativo) */
    .pricing-card {
        flex: 0 0 90%;
    }

    /* Card quase tela cheia */

    .partners-grid-modal {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Provas Sociais (Depoimentos) --- */
.testimonials-section {
    padding: 10px 0;
   background: linear-gradient(to bottom, #f8a63a  10%, #A9A9A9 80%);
    text-align: center;
    overflow: hidden;
}

.testimonials-section h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 40px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: Inter;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    gap: 30px;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    min-width: 300px;
    max-width: 300px;
    box-shadow: var(--shadow);
    text-align: left;
    border: 1px solid #eee;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #FFE0B2;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.5;
}

.testimonial-card span {
    display: block;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Move metade (assumindo conteúdo duplicado) */
}

/* Pausa animação ao passar o mouse */
.marquee-content:hover {
    animation-play-state: paused;
}

.medicos{

    border-radius: 10px;
}