/*
 * DENTCOMM - ESTILOS PÁGINA INICIAL (INDEX)
 * Versão: 1.5 - Ajuste Fino na Calculadora
 */

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(100px);
    animation: floating 6s ease-in-out infinite;
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-family: var(--font-display);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* VALUES SECTION */
.values {
    padding: var(--section-padding);
    background: var(--bg-card);
    position: relative;
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(22, 254, 237, 0.1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    font-size: 2.5rem;
    margin: 0 auto 1.5rem auto;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* PRODUCTS SHOWCASE SECTION */
.products-showcase {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(22, 254, 237, 0.02) 0%, rgba(33, 33, 33, 0.02) 100%);
}

.products-showcase__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(22, 254, 237, 0.1);
    display: flex;
    flex-direction: column;
}

.product-card.premium {
    background: linear-gradient(135deg, rgba(22, 254, 237, 0.05) 0%, rgba(33, 33, 33, 0.02) 100%);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
}

.product-badge.premium {
    background: var(--gradient-secondary);
    color: white;
}

.product-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 254, 237, 0.1);
    border-radius: 50%;
    color: var(--primary-cyan);
}

.product-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-card__desc {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
    flex-grow: 1;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    text-align: left;
    padding-left: 1rem;
}

.feature {
    font-size: 0.875rem;
}

.product-price {
    margin-bottom: 2rem;
}

.price-from {
    display: block;
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.price-period {
    font-size: 1rem;
    opacity: 0.7;
}

.product-card .btn {
    margin-top: auto;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.products-cta {
    text-align: center;
    margin-top: 3rem;
}

.products-cta p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* NOVO: Estilo para o card Fullstack na página inicial */
.product-card--fullwidth {
    grid-column: 1 / -1; /* Ocupa todas as colunas da grid */
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 3rem;
}

.product-card--fullwidth .product-card__header,
.product-card--fullwidth .product-card__content,
.product-card--fullwidth .product-card__cta {
    flex: 1;
}

.product-card--fullwidth .product-card__header {
    flex-basis: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.product-card--fullwidth .product-card__content {
    flex-basis: 55%;
}

.product-card--fullwidth .product-card__cta {
    flex-basis: 30%;
    text-align: center;
}

.product-card--fullwidth .product-badge {
    position: static;
    transform: none;
}

.product-card--fullwidth .product-icon {
    margin: 0;
}

.product-card--fullwidth .product-card__desc,
.product-card--fullwidth .product-features {
    margin-bottom: 0;
}

.product-card--fullwidth .product-features {
     padding-left: 0;
}

.product-card--fullwidth .product-price {
    margin-bottom: 1.5rem;
}

/* MOMENT SECTION */
.moment-section {
    padding: var(--section-padding);
}

.moment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.moment-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.moment-card h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin: 0;
}

.moment-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-xl);
}

/* ROI CALCULATOR */
.roi-calculator {
    padding: var(--section-padding);
    background: var(--bg-card);
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

#roi-calculator-inputs {
    text-align: center;
}

.calculator-result {
    background: var(--gradient-primary);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    color: black;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.result-item {
    text-align: center;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 1rem;
    opacity: 0.8;
}

.result-disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 1rem;
}

.contextual-sentence {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    text-align: center;
    color: var(--primary-dark);
}

/* TESTIMONIALS */
.testimonials {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(22, 254, 237, 0.02) 0%, rgba(33, 33, 33, 0.02) 100%);
}

.testimonials__slider {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    position: relative;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(22, 254, 237, 0.1);
}

.testimonial__content {
    text-align: center;
}

.testimonial__quote {
    margin-bottom: 2rem;
    color: var(--primary-cyan);
}

.testimonial__text {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--primary-dark);
}

.testimonial__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial__info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.testimonial__info p {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.testimonial__stats {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-cyan);
}

.testimonials__nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.testimonial-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(22, 254, 237, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.testimonial-nav-btn.active {
    background: var(--primary-cyan);
}

/* NEWSLETTER */
.newsletter {
    padding: var(--section-padding);
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
}

.newsletter__title {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter__subtitle {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.newsletter__form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter__input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter__input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
}

.newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter__disclaimer {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* CTA FINAL */
.cta-final {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    text-align: center;
    color: var(--primary-dark);
}

.cta-final__title {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.cta-final__subtitle {
    margin-bottom: 2rem;
    opacity: 1; 
    color: var(--primary-dark);
}

.cta-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-final__guarantees {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .product-card--fullwidth {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2.5rem 2rem;
    }
    .product-card--fullwidth .product-card__header,
    .product-card--fullwidth .product-card__content,
    .product-card--fullwidth .product-card__cta {
        flex-basis: auto;
    }
}

@media (max-width: 768px) {
    .hero__cta,
    .cta-final__actions {
        flex-direction: column;
        align-items: center;
    }
    .newsletter__input-group {
        flex-direction: column;
    }
    .result-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    .testimonial__author {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .result-grid {
        grid-template-columns: 1fr;
    }
    .hero__stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .stat-number {
        font-size: 2rem;
    }
}