:root {
    --primary-pink: #ff6b9d;
    --secondary-yellow: #ffd93d;
    --accent-coral: #ff8a80;
    --success-green: #4caf50;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #fef7f0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
}


/* Loading Modal com Descuento */
.loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-yellow));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
}

.loading-modal.hide {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    background: white;
    border-radius: 25px;
    padding: 50px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.loading-badge {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    display: inline-block;
    animation: pulse 2s infinite;
}

.loading-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-pink);
    margin-bottom: 20px;
}

.loading-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.loading-price {
    margin-bottom: 30px;
}

.loading-original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.5rem;
}

.loading-new-price {
    color: var(--primary-pink);
    font-size: 3rem;
    font-weight: bold;
    display: block;
}

/* Barra de progreso */
.progress-container {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 30px 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(45deg, var(--primary-pink), var(--secondary-yellow));
    width: 0%;
    border-radius: 10px;
    transition: width 0.3s ease;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

.loading-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Hero Section - Mobile First */
.hero-section {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 50%, #fd79a8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px 0;
}



.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: white;
    font-weight: 500;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    line-height: 1.4;
}

/* Mobile: Video primeiro, texto depois */
@media (max-width: 991px) {
    .hero-mobile-order-1 {
        order: 1;
    }
    .hero-mobile-order-2 {
        order: 2;
    }
    
    .hero-section {
        padding: 60px 0 40px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 15px 0;
    text-align: center;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}


.urgency-banner .container{
    display:flex;           /* coloca tudo na mesma linha             */
    align-items:center;
    justify-content:center;
    flex-wrap:nowrap;       /* impede quebra                           */
    gap:.4rem;              /* pequeno respiro entre itens             */
}

.urgency-banner i{
    color:var(--secondary-yellow);   /* 🔥 amarelo / mesmo tom dos botões */
    font-size:1.1rem;
}

.countdown-timer{
    display:inline-flex;    /* cada <span> lado-a-lado                 */
    gap:.15rem;             /* aproxima as letras “h m s”              */
    margin-left:.25rem;     /* ajuste fino após o texto                */
}

/* Se a largura ficar MUITO apertada (<340 px) diminui a fonte        */
@media (max-width:340px){
    .urgency-banner{
        font-size:.8rem;
    }
}


@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.countdown-timer {
    display: inline-flex;
    gap: 10px;
    margin-left: 15px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

/* CTA Buttons */
.btn-cta-primary {
    background: linear-gradient(45deg, var(--primary-pink), var(--secondary-yellow));
    border: none;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 18px 40px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.6);
    color: white;
}

.btn-cta-primary::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: left 0.5s;
}

.btn-cta-primary:hover::before {
    left: 100%;
}

.btn-cta-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--primary-pink);
    transform: translateY(-2px);
}



/* Social Proof Section */
.social-proof {
    background: white;
    padding: 60px 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-pink);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Gallery Section */
.gallery-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.gallery-item {
    position: relative;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 157, 0.9), rgba(255, 217, 61, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Course Content */
.course-content {
    padding: 80px 0;
    background: white;
}

.course-unit {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.course-unit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, var(--primary-pink), var(--secondary-yellow));
}

.course-unit:hover {
    transform: translateY(-10px);
    border-color: var(--primary-pink);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2);
}

/* Pricing Section */
.pricing-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    color: white;
}

.price-card {
    background: white;
    color: var(--text-dark);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    transform: scale(1.05);
    border: 5px solid var(--primary-pink);
}

.price-ribbon {
    position: absolute;
    top: 30px;
    right: -35px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px 50px;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.5rem;
    opacity: 0.7;
}

.current-price {
    color: var(--primary-pink);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin: 20px 0;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
}

.price-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Instructor Section */
.instructor-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.instructor-card {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
}

.instructor-image {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Trust Signals */
.trust-signals {
    background: white;
    padding: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.trust-item {
    text-align: center;
    padding: 20px;
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--primary-pink);
    margin-bottom: 15px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .btn-cta-primary {
        font-size: 1rem;
        padding: 15px 30px;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .course-unit {
        padding: 25px;
    }
    
    .price-card {
        padding: 40px 25px;
        transform: none;
    }
    
    .current-price {
        font-size: 3rem;
    }
    
    .gallery-item {
        margin-bottom: 20px;
    }
    
    .loading-content {
        padding: 30px;
    }
    
    .loading-title {
        font-size: 2rem;
    }
    
    .countdown-timer {
        margin-left: 0;
        margin-top: 10px;
        display: block;
    }
}

@media (max-width: 576px) {
    .btn-cta-primary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .urgency-banner {
        font-size: 0.9rem;
        padding: 12px 0;
    }
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.show {
    transform: translateY(0);
}

/* Sticky-CTA – garante que o texto caiba dentro do botão */
.sticky-cta .btn-cta-primary{
    white-space:nowrap;   /* evita quebra interna */
    font-size:1rem;       /* ligeiro ajuste de tamanho */
    padding:14px 20px;    /* mantém hit-area confortável */
}


/* VIDEO – versão única e consistente */
.video-container{
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
  cursor: pointer;
}

/* Thumb e iframe preenchem 100% */
.video-container .yt-thumb,
.video-container iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

/* Overlay com “play” */
.video-container .yt-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;     /* clique passa para o container */
}

.video-container .yt-label{
  pointer-events: none;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f38ea8, #f6c057);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

.video-container .yt-play{
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
  position: relative;
}
.video-container .yt-play::before{
  content: "";
  position: absolute;
  left: 27px; top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #e75858;
}



