/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4361ee;
    --secondary: #3a0ca3;
    --accent: #f72585;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #4cc9f0;
    --warning: #ffbe0b;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --premium-gold: #ffd700;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header */
#header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.mh-nav__fixed-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.mh-nav__fixed-container a {
    display: flex;
}

.mh-logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(67, 97, 238, 0.4);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #03124e, #170386, #00ddec);
    color: white;
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTM2IDM0aDI0djI0SDM2ek0wIDM0aDI0djI0SDB6TTM2IDBoMjR2MjRIMzZ6TTAgMGgyNHYyNEgweiIvPjwvZz48L2c+PC9zdmc+');
    opacity: 0.2;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.mh-hero__title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.mh-hero__subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.mh-hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------- */
.templates {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.template-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.template-card:hover {
    transform: translateY(-5px);
}

.template-video video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.template-card h3 {
    padding: 20px 20px 10px;
    color: var(--secondary);
}

.template-card p {
    padding: 0 20px 15px;
    color: var(--gray);
}

.template-badge {
    display: inline-block;
    background: var(--premium-gold);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin: 0 20px 20px;
}

/* Gallery Style */
.gallery-container {
    max-width: 800px;
    margin: 0 auto;
}

.gallery-main video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-thumbs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.thumb {
    cursor: pointer;
    text-align: center;
    transition: transform 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.thumb:hover, .thumb.active {
    transform: scale(1.1);
    background: var(--light);
}

.thumb video {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.thumb span {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ---------------------------------------------------------- */
.css-12r0jtd {
    box-sizing: border-box;
    margin: 0;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.css-1k5p07j {
    box-sizing: border-box;
    margin: 0;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.scroll-parent {
    position: relative;
    height: 394px;
    overflow-x: hidden;
}

.css-164zf42 {
    box-sizing: border-box;
    margin: 0;
    min-width: 0;
    width: 1964px;
}

.scroll-element {
    width: inherit;
    height: inherit;
    position: absolute;
    left: 0%;
    top: 0%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.css-138tnwl{
    box-sizing: border-box;
    margin: 0;
    min-width: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 16px;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding-left: 8px;
    padding-right: 8px;
}

.css-video-container {
    box-sizing: border-box;
    margin: 0;
    min-width: 0;
    width: 200px;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    height: 394px;
    background-size: cover;
    border-radius: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    position: relative;
}

.video-9x16{
    box-sizing: border-box;
    margin: 0;
    min-width: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.video-9x16:hover{
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05); 
}

.video-label {
    box-sizing: border-box;
    margin: 0;
    min-width: 0;
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: 500;
    font-size: 18px;
}

.scroll-element.primary {
    animation: primary 35s linear infinite;
    will-change: transform;
}

.scroll-element.secondary {
    animation: secondary 35s linear infinite;
    will-change: transform;
}

@keyframes primary {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes secondary {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0%);
    }
}

/* ---------------------------------------------------------- */

/* Seção Solução */
.solucao {
    padding: 80px 0;
    background-color: var(--light);
    text-align: center;
}

.solucao-text {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.solucao-destaque {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

/* Seção Benefícios */
.beneficios {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.beneficio-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: var(--light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beneficio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.beneficio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.beneficio-item h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

/* Seção Depoimentos */
.depoimentos {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.depoimento-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.depoimento-texto {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.depoimento-texto:before {
    content: '"';
    font-size: 50px;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.depoimento-autor {
    display: flex;
    align-items: center;
}

.depoimento-autor img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.depoimento-autor h4 {
    margin-bottom: 5px;
    color: var(--secondary);
}

.depoimento-autor p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Seção Demonstração */
.demonstracao {
    padding: 80px 0;
    background: white;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Seção de planos */
.plans {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.call-to-action {
    text-align: center;
    margin-bottom: 40px;
}

.call-to-action h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.call-to-action p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.plans-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    perspective: 1000px;
}

.plan {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    padding: 40px 30px;
    width: 320px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.plan.basic::before {
    background: linear-gradient(to right, #6a11cb, #2575fc);
}

.plan.premium::before {
    background: linear-gradient(to right, #ff8a00, #ffcc00);
    height: 8px;
}

.plan.premium {
    transform: scale(1.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.plan.premium::after {
    content: 'MOST POPULAR';
    position: absolute;
    top: 35px;
    right: -40px;
    background: var(--premium-gold);
    color: #000;
    font-weight: bold;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.plan:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.plan.premium:hover {
    transform: translateY(-10px) scale(1.05) rotateX(5deg);
}

.plan-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
}

.plan.premium .plan-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(to right, #ff8a00, #ffcc00);
    box-shadow: 0 10px 20px rgba(255, 138, 0, 0.4);
}

.plan h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.plan .price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.plan .price::before {
    content: '$';
    font-size: 1.5rem;
    position: absolute;
    top: 10px;
    left: -20px;
}

.plan.premium .price {
    color: #ff8a00;
    font-size: 3.2rem;
}

.plan .price-desc {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: -20px;
    margin-bottom: 25px;
}

.plan ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.plan ul li {
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.plan ul li i {
    margin-right: 10px;
    color: var(--success);
    font-size: 1.2rem;
}

.plan.premium ul li i {
    color: var(--premium-gold);
}

.btn-comprar {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.btn-comprar small {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
}

.btn-comprar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.btn-comprar:hover::before {
    left: 100%;
}

.btn-comprar:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(106, 17, 203, 0.4);
}

.plan.premium .btn-comprar {
    background: linear-gradient(to right, #ff8a00, #ffcc00);
    box-shadow: 0 10px 20px rgba(255, 138, 0, 0.4);
}

.plan.premium .btn-comprar:hover {
    box-shadow: 0 15px 25px rgba(255, 138, 0, 0.5);
}

/* Seção Confiança */
.confianca {
    padding: 80px 0;
    background: white;
}

.confianca-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.selos-garantia {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.selo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 130px;
}

.selo-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 10px;
}

.selo-item p {
    font-weight: 600;
    color: var(--dark);
}

.confianca-text {
    font-size: 1.1rem;
    line-height: 1.8;
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary);
}

/* Seção Bônus */
.bonus {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.bonus-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.bonus-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bonus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.bonus-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.bonus-card h3 {
    padding: 20px 20px 10px;
    color: var(--secondary);
}

.bonus-card p {
    padding: 0 20px 20px;
    color: var(--gray);
}

/* Seção FAQ */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 15px;
}

.faq-pergunta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
}

.faq-pergunta h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--secondary);
}

.faq-resposta {
    padding: 0 0 20px 0;
    display: none;
}

.faq-item.ativo .faq-resposta {
    display: block;
}

.faq-item.ativo .faq-pergunta i {
    transform: rotate(180deg);
}

.faq-pergunta i {
    transition: transform 0.3s ease;
}

/* Seção CTA Final */
.cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Media Queries */
@media (max-width: 768px) {
    .mh-hero__title {
        font-size: 2.5rem;
    }
    
    .mh-hero__subtitle {
        font-size: 1.2rem;
    }
    
    .nav-links {
        display: none;
    }

    .css-12r0jtd {
        padding: 0;
        padding-bottom: 60px;

    }
    
    .beneficios-grid, .bonus-grid, .depoimentos-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-container {
        flex-direction: column;
        align-items: center;
    }
    
    .plan {
        width: 100%;
        max-width: 400px;
    }
    
    .plan.premium {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .hero {
        padding-bottom: 10px;
    }
    .mh-hero__title {
        font-size: 2rem;
    }
    
    .mh-hero__buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-final h2 {
        font-size: 2rem;
    }

    .plans-container {
        display: flex;
        flex-direction: column;
    }
    
    .plan.premium {
        order: -1; /* Coloca o plano premium primeiro */
        margin-bottom: 30px;
    }
    
    .plan.basic {
        order: 1; /* Coloca o plano básico depois */
    }
}

/* === OTIMIZAÇÕES DE PERFORMANCE (SEM ALTERAR O VISUAL) === */

/* Otimização de fontes */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

/* Melhorias de performance para imagens */
img {
    max-width: 100%;
    height: auto;
}

/* Otimização para Core Web Vitals */
.depoimento-autor img,
.bonus-card img {
    loading: lazy;
}

/* Prevenir layout shift */
.video-container {
    aspect-ratio: 16 / 9;
}

/* Otimizações de acessibilidade (sem alterar visual) */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states para acessibilidade */
.btn:focus,
.btn-comprar:focus,
.faq-pergunta:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Melhorias de performance para animações */
.beneficio-item,
.plan,
.bonus-card {
    will-change: transform;
}

/* Otimização de renderização */
body {
    text-rendering: optimizeSpeed;
}

h1, h2, h3, h4, h5, h6 {
    font-feature-settings: 'kern' 1;
    font-kerning: normal;
}