/* --- ESTILOS PARA A SEÇÃO DE PREÇOS (style.css) --- */

/* Importação de Fontes do Google */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Poppins&family=Roboto+Condensed:wght@700&display=swap' );

/* Configurações Gerais da Seção */
.prices-section {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    padding-bottom: 0.5rem;
    overflow: hidden; /* Garante que elementos com overflow não quebrem o layout */
}

.prices-header-background {
    background-color: #c4e0c5;
    padding-top: 1.5rem;
}

/* Layout e Grid (Container, Row, Col) */
.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; } }

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;
    align-items: center;
}

.col-12, .col-md-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Título da Seção */
.prices-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(26px, 3.5vw, 36px);
    line-height: 1.4;
    margin-bottom: 0;
    padding-bottom: 0.7rem;
    text-align: center;
    font-weight: 700;
}

.underlined {
    position: relative;
    display: inline-block;
}
.underlined span {
    position: relative;
    z-index: 1;
}

/* Seta Animada */
.arrow-container {
    text-align: center;
    margin-top: 0;
    position: relative;
    z-index: 10;
}
.jumping-arrow {
    width: 40px;
    animation: jump 1s infinite;
}
@keyframes jump {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Visibilidade para Desktop/Mobile */
.mobile-only { display: none; }
.desktop-only { display: inline; }
@media (max-width: 768px) {
    .mobile-only { display: inline; }
    .desktop-only { display: none; }
}

/* Container dos Cards de Preço */
.prices-container {
    padding-top: 3rem;
    margin-top: 3rem;
}

/* Ordenação dos Cards */
@media (max-width: 767.98px) {
    .order-mobile-1 { order: 1; }
    .order-mobile-2 { order: 2; }
    .order-mobile-3 { order: 3; }
}
@media (min-width: 768px) {
    .order-desktop-1 { order: 1; }
    .order-desktop-2 { order: 2; }
    .order-desktop-3 { order: 3; }
}

/* Estilo Base do Card de Produto */
.product-card {
    text-align: center;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    border: 2px solid #ccc;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #fff;
}

.featured-card {
    border: 4px solid #1f7460;
}

/* Cabeçalho dos Cards */
.card-header-simple, .card-header-featured {
    position: relative;
    color: #000;
    padding: 20px 0;
}
.card-header-simple { background: #c4e0c5; }
.card-header-featured { background: radial-gradient(circle, #a5ee6c 0%, #2c7d42 100%); }

.card-title {
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1.6rem;
    color: black;
}
.card-subtitle {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Animação de Brilho (Shimmer) */
.shimmer-text {
    position: relative;
    display: inline-block;
    overflow: hidden;
}
.shimmer-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    0% { left: -75%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Triângulo SVG */
.header-triangle-svg-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}
.header-triangle-svg-container svg {
    display: block;
    width: 101%;
    height: 25px;
}

/* Corpo do Card */
.card-body {
    padding: 0.8rem;
    border-radius: 20px;
}
.featured-body {
    background-color: #c4e0c5;
}

/* Imagens dos Produtos */
.card-image-container {
    width: 75%;
    margin: 0 auto;
    padding: 1rem 0;
}
.img-fluid {
    max-width: 100%;
    height: auto;
}
.product-image-2 { width: 58%; max-width: 320px; display: block; margin: -10px auto 20px 27%; transform: scale(1.1); }
.product-image-6 { width: 100%; max-width: 330px; display: block; margin: 10px auto 32px; transform: scale(1.35); }
.product-image-3 { width: 100%; max-width: 500px; display: block; margin: -17px auto 5px 5%; transform: scale(1.05); }

/* Display de Preço */
.price-display {
    display: flex;
    justify-content: center;
    align-items: center;
}
.price-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
}
.price-per {
    margin-left: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.875em;
    text-align: left;
}
.price-per span { display: block; }

/* Lista de Vantagens */
.features-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem auto;
    max-width: 400px;
}
.feature-item-save, .feature-item-bonus {
    padding: 0.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 15px;
}
.feature-item-save { color: #1ead50; }
.feature-item-bonus { color: #1D2D25; border-top: 1px solid #dee2e6; }
.feature-item-save span, .feature-item-bonus span { color: black; }
.free-text { color: #1ead50; }

/* Botão de Compra */
.buy-button-container {
    text-align: center;
    margin-bottom: 1.5rem;
}
.buy-now-button {
    font-family: 'Roboto Condensed', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 97%;
    margin: -7px 0 0 0;
    padding: 10px 5px;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.1em;
    color: black;
    text-decoration: none;
    background: linear-gradient(to bottom, #ffd700, #ff8c00);
    border: none;
    border-radius: 150px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
    animation: pulsar 1s ease-in-out infinite alternate;
    cursor: pointer;
    gap: 10px;
    white-space: nowrap;
}
.buy-now-button:hover {
    color: black;
    text-decoration: none;
}
@keyframes pulsar {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}
.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    border-radius: 50%;
    width: 30px;
    height: 26px;
}
.cart-icon {
    width: 19px;
    height: 19px;
    display: block;
    fill: yellow;
}
.button-text {
    line-height: 1;
}

/* Textos Adicionais */
.guarantee-text {
    font-size: 0.875em;
    margin-bottom: 1rem;
}
.payment-cards-container {
    width: 58.333333%;
    margin: 0 auto 1rem;
}
.total-price-text {
    font-size: 12px;
    margin-bottom: 4px;
}
.original-price {
    color: #888;
    text-decoration: line-through;
}
.final-price {
    font-weight: 600;
    color: #000;
}
.shipping-text {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0;
    color: #333;
}

/* Touch Improvements for Mobile */
@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover,
    .btn-warning:hover {
        transform: none;
    }
    
    .btn-primary:active,
    .btn-warning:active {
        transform: scale(0.98);
    }
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.pricing-column {
  flex: 1 1 30%;
  max-width: 300px;
  text-align: center;
}

.pricing-option-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  cursor: pointer;
}

.pricing-option-img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .pricing-column {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Pricing Section */
.pricing-section {
    padding: 50px 0;
    text-align: center;
}

.pricing-visual {
    margin-bottom: 30px;
}

.pricing-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}