/* ProPoint Centro de Treinamento - Main Styles */
/* Optimized for performance - External CSS */
/* Updated: 2025-01-27 16:00 - Mobile carousel fix */

/* CSS Variables */
:root {
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --orange: #ff4500;
    --yellow: #ffd23f;
    --white: #ffffff;
    --gradient-fire: linear-gradient(135deg, #ff4500 0%, #ff6b35 50%, #ffd23f 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-fire);
    border-radius: 4px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 69, 0, 0.2);
    z-index: 10000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-fire);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 69, 0, 0.2);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(255, 69, 0, 0.1);
    border-left-color: var(--orange);
    color: var(--orange);
}

.nav-whatsapp {
    background: var(--gradient-fire);
    color: var(--black);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--orange);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-dark);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 69, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid var(--orange);
    color: var(--orange);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.2;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: var(--text-shadow);
}

.text-fire {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.hero-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 69, 0, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 69, 0, 0.1);
}

.hero-stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-fire {
    background: var(--gradient-fire);
    color: var(--black);
}

.btn-fire:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--orange);
}

.btn-outline:hover {
    background: var(--orange);
    color: var(--black);
}

.btn-xl {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-lg {
    padding: 16px 32px;
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.trust-item::before {
    content: '✓';
    color: var(--orange);
    font-weight: bold;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.promo-carousel {
    background: rgba(255, 69, 0, 0.05);
    border: 2px solid rgba(255, 69, 0, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
    min-height: 500px;
}

/* Mobile override for hero carousel - BALANCED */
@media (max-width: 768px) {
    .hero .promo-carousel {
        min-height: 580px !important;
        padding: 1.5rem !important;
    }
    
    .hero .promo-slide {
        top: 1.5rem !important;
        left: 1.5rem !important;
        right: 1.5rem !important;
        bottom: 3.5rem !important;
    }
    
    .hero .carousel-indicators {
        bottom: 35px !important;
    }
}

/* iPhone specific fix */
@media (max-width: 430px) {
    .hero .promo-carousel {
        min-height: 620px !important;
    }
    
    .hero .promo-slide {
        bottom: 4rem !important;
    }
}

.promo-slide {
    position: absolute;
    top: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    bottom: 2.5rem;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
}

.promo-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.promo-slide.prev {
    transform: translateX(-100%);
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-fire);
    color: var(--black);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    transform: rotate(12deg);
    text-transform: uppercase;
    z-index: 20;
}

.promo-title {
    color: var(--orange);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.promo-old-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.promo-price {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.promo-installments {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.promo-includes {
    border-top: 1px solid rgba(255, 69, 0, 0.2);
    padding-top: 1.5rem;
    margin-bottom: 2rem;
}

.promo-includes h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.promo-list {
    list-style: none;
    text-align: left;
}

.promo-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.promo-list li::before {
    content: '•';
    color: var(--orange);
    font-weight: bold;
}

/* Carousel Controls */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--orange);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--orange);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 69, 0, 0.8);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: var(--orange);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 15px;
}

.carousel-nav.next {
    right: 15px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--dark-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid var(--orange);
    color: var(--orange);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: var(--text-shadow);
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Card */
.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 69, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Course Cards */
.course-card {
    position: relative;
    overflow: hidden;
}

.course-header {
    position: relative;
    height: 200px;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
    filter: brightness(0.9) contrast(1.1);
}

.course-card:hover .course-image {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.2);
}

.course-header .course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(255,69,0,0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-weight: 700;
    font-size: 1.1rem;
}

.course-icon {
    font-size: 3rem;
    color: var(--black);
}

.course-category {
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.course-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.course-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 69, 0, 0.05);
    border-radius: 10px;
}

.course-stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--orange);
    display: block;
    margin-bottom: 0.25rem;
}

.course-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-video {
    margin-bottom: 1.5rem;
}

.course-video iframe {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    border: none;
}

.course-footer {
    border-top: 1px solid rgba(255, 69, 0, 0.2);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.course-price {
    text-align: center;
}

.course-price-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.course-price-value {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--orange);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn {
    background: #25d366;
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.share-btn {
    background: var(--gradient-fire);
    color: var(--black);
    position: relative;
    overflow: hidden;
    animation: shareAttention 3s ease-in-out infinite;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shareShine 2s linear infinite;
}

.share-btn:hover {
    background: var(--orange);
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.6);
    animation: none;
}

.share-btn:hover::before {
    animation: none;
}

@keyframes shareAttention {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 69, 0, 0.5);
    }
}

@keyframes shareShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}


/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .course-stats {
        grid-template-columns: 1fr;
    }

    .course-footer {
        flex-direction: column;
        text-align: center;
    }

    .promo-carousel {
        padding: 1.5rem;
        min-height: 650px;
    }

    .promo-slide {
        top: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        bottom: 2.5rem;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
    }

    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }

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

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
