/* ===== VARIÁVEIS E CORES ===== */
:root {
    --primary-color: #FF6B9D;
    --secondary-color: #FF8FB3;
    --accent-color: #FFB6D9;
    --success-color: #4CAF50;
    --warning-color: #FFA500;
    --danger-color: #FF4444;
    --dark-color: #2C3E50;
    --light-color: #F8F9FA;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ===== TIPOGRAFIA ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark-color);
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* ===== SEÇÃO HERO ===== */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFF5F9 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--dark-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-image {
    animation: fadeInRight 0.8s ease-out;
}

/* Quadro padronizado para imagens principais (hero, kit, oferta, garantia, bônus) */
.hero-image,
.kit-image,
.bonus-item .img-frame,
.offer-section .img-frame,
.guarantee-section .img-frame {
    width: 100%;
    overflow: hidden;
    display: block;
    /* define proporção do quadro; ajusta conforme desejado */
    aspect-ratio: 4 / 3;
    border-radius: .75rem;
}

/* fallback para navegadores sem support a aspect-ratio: usa altura fixa */
@supports not (aspect-ratio: 4/3) {
    .hero-image { height: 420px; }
    .kit-image { height: 220px; }
    .bonus-item .img-frame { height: 220px; }
    .offer-section .img-frame { height: 320px; }
    .guarantee-section .img-frame { height: 200px; }
}

/* Faz a imagem preencher totalmente o quadro sem distorcer */
.hero-image img,
.kit-image img,
.bonus-section .bonus-item img,
.offer-section .img-frame img,
.guarantee-section .img-frame img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Pequenas adaptações responsivas */
@media (max-width: 992px) {
    .hero-image { aspect-ratio: 16 / 9; }
    .kit-image { aspect-ratio: 4 / 3; }
    .bonus-item .img-frame { aspect-ratio: 4 / 3; }
}

@media (max-width: 576px) {
    .hero-image { aspect-ratio: 16 / 9; }
    .kit-image { aspect-ratio: 1 / 1; }
    .bonus-item .img-frame { aspect-ratio: 1 / 1; }
}

/* ===== BOTÕES ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-cta {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SEÇÃO EMPÁTICA ===== */
.empathy-section {
    background: white;
}

.empathy-content {
    animation: fadeInLeft 0.8s ease-out;
}

.empathy-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ===== SEÇÃO EDUCATIVA ===== */
.education-section {
    background: var(--light-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    font-weight: 800;
}

.education-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.education-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.education-heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.education-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.benefit-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

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

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

.benefit-box h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

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

.comparison-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.comparison-box p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ===== SEÇÃO KIT ===== */
.kit-section {
    background: white;
}

.kit-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    padding: 1.5rem;
}

.kit-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.kit-image {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 10px;
}

.kit-image img {
    transition: transform 0.3s ease;
}

.kit-item:hover .kit-image img {
    transform: scale(1.05);
}

.kit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.kit-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===== SEÇÃO BÔNUS ===== */
.bonus-section {
    background: var(--light-color);
}

.bonus-item {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.bonus-item img {
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.bonus-item:hover img {
    transform: scale(1.05);
}

.bonus-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.bonus-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.bonus-value {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.bonus-today {
    font-size: 2rem;
    color: var(--success-color);
    font-weight: 700;
}

/* Container da seção de bônus centralizado e com largura limitada */
.bonus-section .container > .row.g-4.mb-5 {
    max-width: 80%;
    margin: 0 auto;
    justify-content: center;
    align-items: stretch; /* garante colunas com mesma altura */
}

/* Garante que as colunas ocupem toda a altura e permitam flex nos itens */
.bonus-section .col-md-6 {
    display: flex;
    align-items: stretch;
}

/* Cada item de bônus é um flex container vertical */
.bonus-section .bonus-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Wrapper da imagem: ocupa a parte superior e fixa altura para manter uniformidade */
.bonus-section .bonus-item img {
    width: 100%;
    height: 220px; /* altura uniforme em desktop */
    object-fit: cover; /* ajusta a imagem ao espaço sem distorcer */
    display: block;
    border-radius: .5rem;
    flex: 0 0 auto;
}

/* Conteúdo textual fica abaixo da imagem e pode crescer normalmente */
.bonus-section .bonus-item h4,
.bonus-section .bonus-item p {
    margin-top: 0.75rem;
}

/* Responsividade: alturas menores em tablets e celulares */
@media (max-width: 992px) {
    .bonus-section .bonus-item img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .bonus-section .container > .row.g-4.mb-5 {
        max-width: 95%;
    }
    .bonus-section .bonus-item img {
        height: 140px;
    }
}

/* ===== SEÇÃO TESTIMONIAIS ===== */
.testimonials-section {
    background: white;
}

.testimonials-carousel {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.testimonials-carousel::-webkit-scrollbar {
    height: 6px;
}

.testimonials-carousel::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 10px;
}

.testimonials-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.testimonial-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.testimonial-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.stars {
    color: var(--warning-color);
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 600;
}

.carousel-controls {
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* ===== SEÇÃO ANTES E DEPOIS ===== */
.before-after-section {
    background: var(--light-color);
}

.scenario-box {
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.scenario-box.before {
    background: #FFE5E5;
    border-left: 5px solid var(--danger-color);
}

.scenario-box.after {
    background: #E5F5E5;
    border-left: 5px solid var(--success-color);
}

.scenario-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.scenario-list {
    list-style: none;
}

.scenario-list li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.scenario-box.before li::before {
    content: '❌ ';
    margin-right: 0.5rem;
}

.scenario-box.after li::before {
    content: '✅ ';
    margin-right: 0.5rem;
}

/* ===== SEÇÃO OFERTA ===== */
.offer-section {
    background: linear-gradient(135deg, #FFF5F9 0%, #FFFFFF 100%);
    padding: 80px 0;
}

.offer-content {
    animation: fadeInRight 0.8s ease-out;
}

.offer-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    font-weight: 800;
}

.price-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 2px solid var(--primary-color);
}

.original-price {
    font-size: 1.1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.final-price {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0.5rem 0;
}

.highlight-price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.savings {
    font-size: 1.2rem;
    color: var(--success-color);
    font-weight: 600;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.benefits-list i {
    color: var(--success-color);
    margin-right: 1rem;
    font-size: 1.3rem;
}

.security-badges {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.badge-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ===== SEÇÃO CONFIANÇA ===== */
.trust-section {
    background: var(--light-color);
}

.trust-badge {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.trust-badge img {
    max-height: 80px;
    object-fit: contain;
}

/* ===== SEÇÃO GARANTIA ===== */
.guarantee-section {
    background: white;
}

.guarantee-item {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--success-color);
}

.guarantee-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.guarantee-item i {
    margin-right: 0.5rem;
}

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

.guarantee-section .row .col-lg-6:first-child img {
    width: 60% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

/* Ajuste em telas pequenas para melhor leitura */
@media (max-width: 576px) {
    .guarantee-section .row .col-lg-6:first-child img {
        width: 80% !important;
    }
}

/* ===== SEÇÃO FAQ ===== */
.faq-section {
    background: var(--light-color);
}

.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: white;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem;
    border: none;
}

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

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

.accordion-body {
    background: white;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    padding: 1.5rem;
}

/* ===== SEÇÃO FINAL ===== */
.final-section {
    background: linear-gradient(135deg, #FFF5F9 0%, #FFFFFF 100%);
    padding: 80px 0;
}

.final-letter {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    text-align: left;
    line-height: 2;
}

.final-letter p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.final-letter p:first-child {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

/* ===== MODAL ===== */
.modal-content {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 157, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .benefit-box {
        margin-bottom: 1rem;
    }

    .testimonials-carousel {
        gap: 1rem;
    }

    .scenario-box {
        margin-bottom: 1rem;
    }

    .security-badges {
        flex-direction: column;
        align-items: center;
    }

    .badge-item {
        justify-content: center;
    }

    .final-letter {
        padding: 1.5rem;
    }

    .final-letter p {
        font-size: 1rem;
    }

    .offer-section {
        padding: 40px 0;
    }

    .hero-section {
        padding: 40px 0;
    }

    .final-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-cta {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .highlight-price {
        font-size: 2rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .trust-badge {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in.visible {
    opacity: 1;
}

/* ===== ESTILOS ADICIONAIS ===== */
.video-section .video-frame {
    max-width: 900px;
    margin: 0 auto;
    border-radius: .75rem;
    overflow: hidden;
    background: #000; /* fundo durante carregamento */
}

/* garante que o vídeo preencha todo o quadro da ratio */
.video-section .video-frame video,
.video-section .video-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain; /* mantém a imagem inteira sem cortar; use 'cover' para preencher sem barras */
}

/* ajuste responsivo para telas pequenas */
@media (max-width: 576px) {
    .video-section .video-frame {
        max-width: 100%;
    }
}

/* overlay cobrindo o quadro do vídeo, com botão para ativar áudio */
.video-unmute-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    transition: opacity 200ms ease, visibility 200ms ease;
    z-index: 5;

    /* NÃO bloquear cliques que devem atingir o vídeo (permitir pausar) */
    pointer-events: none;
}

/* permitir eventos apenas no botão dentro da overlay */
.video-unmute-overlay .btn {
    min-width: 160px;
    pointer-events: auto;
}

.video-unmute-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.video-unmute-overlay .btn {
    min-width: 160px;
}

/* pequenas adaptações para mobile */
@media (max-width: 576px) {
    .video-unmute-overlay .btn { min-width: 130px; font-size: .95rem; }
    .video-unmute-overlay p { font-size: .85rem; margin-top: .4rem; }
}

/* ===== PROGRESS BAR ===== */
.video-frame { position: relative; overflow: hidden; }

/* Barra de progresso posicionada sobre o vídeo */
.video-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 8px;
    background: rgba(255,255,255,0.18);
    border-radius: 6px;
    margin: 0 12px;
    z-index: 8; /* acima da overlay (overlay z-index:5) */
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25) inset;
    touch-action: none;
}

/* barra preenchida */
.video-progress__bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,#ff7aa2,#ffb3d1);
    transition: width 100ms linear;
    border-radius: 6px 0 0 6px;
}

/* pequena área ativa para facilitar toque em mobile */
@media (max-width: 576px) {
    .video-progress { height: 10px; margin: 0 8px; bottom: 8px; }
}
