/* Cores da identidade visual */
:root {
    --primary-color: #541692;
    --secondary-color: #d7bb52;
    --light-bg: #f8f8f8;
    --dark-bg: #333;
    --white: #fff;
    --black: #000;
    --price-red: #8B0000;
    --red-accent: #E44D26;
    --font-size-base: 1.05rem;
    --font-size-medium: 1.15rem;
    --font-size-large: 1.25rem;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Montserrat', 'Roboto', 'Segoe UI', sans-serif;
    color: #333;
    font-size: var(--font-size-base);
    line-height: 1.6;
}

/* Fix para problemas de overflow em mobile - movido para media query */
img {
    max-width: 100%;
    height: auto;
}

/* Container responsivo com larguras corretas para desktop */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

/* Botões */
.btn {
    font-weight: 600;
    font-size: var(--font-size-medium);
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-lg {
    font-size: var(--font-size-large);
    padding: 0.8rem 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #4a1382;
    border-color: #4a1382;
}

.btn-warning {
    background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
    border-color: var(--secondary-color);
    color: var(--black);
}

.btn-warning:hover {
    background-color: #c5aa48;
    border-color: #c5aa48;
    color: var(--black);
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    font-size: 2rem;
}

.nav-link {
    font-size: var(--font-size-medium);
    font-weight: 500;
}

/* Seção Hero */
.hero-section {
    background-image: linear-gradient(to right, #541692, #6a20b5);
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: var(--font-size-large);
}

/* Cards de benefícios */
.benefit-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
    color: var(--white);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h4 {
    margin-bottom: 1rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: -50px auto 10px auto;
}

/* Cards de ingredientes */
.ingredient-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ingredient-card:hover {
    transform: translateY(-5px);
}

/* Seção de comparação */
.comparison-box {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.check-list li, .x-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: var(--font-size-medium);
}

.check-list i, .x-list i {
    margin-top: 3px;
}

/* Comparação de produtos */
.product-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.product-image {
    width: 180px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.product-image:hover {
    transform: translateY(-5px);
}

.vs-badge {
    width: 60px;
    height: 60px;
    background-color: var(--red-accent);
    color: white;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.comparison-container {
    border: 2px dashed #ddd;
    border-radius: 15px;
    padding: 30px;
    background-color: white;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.comparison-container h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-align: center;
}

.check-list i {
    color: #42b983;
    font-size: 20px;
}

.x-list i {
    color: var(--red-accent);
    font-size: 20px;
}

/* Cards de preços */
.pricing-card {
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

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

.pricing-card.popular {
    transform: scale(1.02);
    position: relative;
    z-index: 1;
    border: 2px solid var(--secondary-color);
}

.pricing-card.popular:hover {
    transform: scale(1.05);
}

.pricing-title {
    background-color: #f8f8f8;
}

.price {
    margin: 15px 0;
}

.price h1 {
    font-size: 4.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.per-bottle {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 600;
    display: inline-block;
    text-align: left;
    padding-left: 5px;
}

.payment-methods img {
    width: auto;
    object-fit: contain;
}

.total-price {
    font-size: 1.3rem;
}

/* Testemunhos */
.testimonials-section {
    padding: 50px 0;
}

.carousel-inner {
    min-height: 300px; /* Altura mínima fixa para o carrossel */
    position: relative;
}

.carousel-item {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    padding: 0 15px;
}

.carousel-item.active {
    position: relative;
    opacity: 1;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
}

/* Perguntas frequentes */
.accordion-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: none;
    margin-bottom: 1rem;
}

.accordion-button {
    background-color: var(--white);
    font-weight: 600;
    color: var(--primary-color);
    font-size: var(--font-size-medium);
    padding: 1.2rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    font-size: var(--font-size-base);
    padding: 1.2rem;
    line-height: 1.6;
}

/* Cards de bônus */
.bonus-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.bonus-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--secondary-color);
    color: var(--black);
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 30px;
    z-index: 1;
    font-size: var(--font-size-base);
}

/* Estilos para a seção de bônus */
.bonus-card .card-body .row {
    display: flex;
    flex-wrap: wrap;
}

.bonus-card .card-body h4 {
    margin-top: 0;
}

/* Media query para dispositivos móveis */
@media (max-width: 767px) {
    .bonus-card .card-body .row {
        flex-direction: column;
    }
    
    .bonus-card .card-body .row > div {
        width: 100% !important;
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .bonus-card .card-body .row > div:first-child {
        order: 1;
        text-align: center;
    }
    
    .bonus-card .card-body .row > div:nth-child(2) {
        order: 2;
        text-align: center;
    }
    
    .bonus-card .card-body .row img {
        max-width: 200px;
        margin: 0 auto 15px;
        display: block;
    }
    
    .bonus-card h4 {
        font-size: 22px !important;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .bonus-card .card-body p:last-of-type {
        text-align: left;
        margin-top: 15px;
        padding-top: 10px;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
    
    /* Ajuste extra para garantir que a ordem funcione */
    .bonus-card .card-body .row {
        display: grid;
        grid-template-rows: auto auto;
    }
}

/* Rodapé */
footer a {
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: var(--font-size-base);
}

footer a:hover {
    color: var(--secondary-color) !important;
}

/* Responsividade */
@media (max-width: 768px) {
    :root {
        --font-size-base: 1rem;
        --font-size-medium: 1.1rem;
        --font-size-large: 1.2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    /* Correções para evitar overflow horizontal */
    .container {
        width: 100%;
        max-width: 100% !important; /* Forçar largura total em mobile */
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Corrigir margens das linhas */
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .row > [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .comparison-container {
        padding: 15px 10px;
        width: 100%;
    }
    
    .vs-badge {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin: 0 5px;
    }
    
    .product-image {
        width: 100px;  /* Reduzir o tamanho da imagem no mobile */
    }
    
    .comparison-container ul li {
        font-size: 0.95rem;
        word-wrap: break-word;
    }
    
    .check-list i, .x-list i {
        font-size: 16px;
    }
    
    /* Cards de preço */
    .pricing-card {
        width: 100%;
    }
    
    .pricing-card .p-4 {
        padding: 1rem !important;
    }
    
    .price h1 {
        font-size: 2.8rem;
    }
    
    .per-bottle {
        font-size: 0.8rem;
        right: -40px;
        top: 12px;
    }
    
    /* Alinhamento de cards */
    .pricing-card.popular {
        transform: scale(1);
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    /* AOS ajustes */
    [data-aos-delay] {
        transition-delay: 0s !important;
    }
    
    .carousel-inner {
        min-height: 360px; /* Altura um pouco maior para mobile */
    }
    
    .testimonial-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }

     /* Testemunhos - Ajuste para depoimentos em mobile */
    .testimonial-card .d-flex {
        flex-direction: column;
        text-align: center;
        align-items: center !important;
        margin-top: 20px;
    }
    
    .testimonial-card .d-flex img {
        margin-right: 0 !important;
        margin-bottom: 15px;
        max-width: 120px !important;
        border: 3px solid rgba(255, 255, 255, 0.2);
    }
    
    .testimonial-card .text-start {
        text-align: center !important;
        width: 100%;
    }
    
    /* Ajuste adicional para altura do carrossel em mobile com o novo layout */
    .carousel-inner {
        min-height: 520px;
    }
    
    /* Reduzir espaço do título para caber melhor */
    .testimonial-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Reduzir tamanho do texto dos depoimentos */
    .testimonial-card .testimonial-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Garantir que o carrossel não cause overflow */
    .testimonials-section {
        overflow: hidden;
    }
}

/* Ajustes para mobile pequeno */
@media (max-width: 576px) {
    .col-md-6, .col-md-4, .col-md-8, .col-md-3, .col-md-9 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .product-comparison {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .product-image {
        width: 80px;
    }
    
    .vs-badge {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .comparison-container {
        border-width: 1px;
    }
    
    /* Ajuste para textos muito longos */
    * {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .carousel-inner {
        min-height: 560px;
    }
    
    .testimonial-card {
        padding: 1rem !important;
    }
    
    .testimonial-card .stars i {
        font-size: 14px;
    }
    
    .testimonial-card h3 {
        font-size: 1.3rem;
    }
    
    .testimonial-card .d-flex img {
        max-width: 100px !important;
    }
    
    .testimonial-card h5 {
        font-size: 1.1rem;
    }
    
    .testimonial-card .d-flex p {
        font-size: 0.9rem;
    }
}

/* Animação de countdown */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

#countdown {
    animation: pulse 1s infinite;
    font-weight: bold;
    color: var(--white);
    font-size: var(--font-size-large);
} 

.button-buy-b {
    background: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
    color: #000;
    border: none;
}

.button-buy-b:hover {
    background: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
    color: #000;
}

/* Testemunhos - Ajustes adicionais */
.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 5px;
    opacity: 0.7;
}

.carousel-indicators .active {
    background-color: var(--white);
    opacity: 1;
}

.testimonial-card .card-body {
    padding: 25px;
}

.testimonial-author {
    margin-top: 15px;
    font-weight: 600;
}

.verified-badge {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Ajuste para altura específica em diferentes dispositivos */
@media (min-width: 992px) {
    .carousel-inner {
        min-height: 280px; /* Altura um pouco menor para desktops maiores */
    }
}

@media (max-width: 576px) {
    .carousel-inner {
        min-height: 420px; /* Altura adicional para dispositivos muito pequenos */
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 12%; /* Botões um pouco maiores em mobile */
    }
    
    .testimonial-card .card-body {
        padding: 20px 15px;
    }
}

