/* CSS Reset & Variables */
:root {
    --primary: #644516;
    --secondary: #D9C3AB;
    --white: #FFFFFF;
    --black: #000000;
    --dark: #121212;
    --light-bg: #F9F7F5;
    --text-dark: #333333;
    --text-light: #F5F5F5;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --radius: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Layout */
.app-container {
    max-width: 100vw;
    overflow-x: hidden;
}

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

.section-padding {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark);
}

.text-white {
    color: var(--white) !important;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-instagram, .btn-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(100, 69, 22, 0.3);
}

.btn-primary:hover {
    background-color: #4A3310;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary);
}

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

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    font-size: 1.1rem;
    padding: 14px 28px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.w-100 {
    width: 100%;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(100, 69, 22, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(100, 69, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(100, 69, 22, 0); }
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.splash-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    animation: scaleIn 1s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@keyframes scaleIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Install Prompt */
.install-prompt {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 999;
    transition: var(--transition);
}

.install-prompt.hidden {
    bottom: -150px;
    opacity: 0;
    pointer-events: none;
}

.install-prompt-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.install-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

.install-text h3 {
    font-size: 1rem;
    margin: 0;
    font-family: var(--font-main);
    color: var(--primary);
}

.install-text p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-dark);
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: url('vitoria.jpg') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.8));
    z-index: 0;
}

/* Video container foi movido para uma seção própria */

.hero-content {
    padding: 20px;
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero h2 {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    z-index: 1;
}

/* Presentation Video Section */
.presentation-video {
    text-align: center;
}

.presentation-video video {
    width: 100%;
    max-width: 800px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.dark-glass {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* About Section */
.about-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.about-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary);
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .about-card {
        flex-direction: row;
        text-align: left;
    }
}

/* Portfolio Gallery */
.gallery-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
}

.gallery-track {
    display: flex;
    transition: transform 0.3s ease-out;
    width: 100%;
}

.gallery-item {
    min-width: 100%;
    height: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: zoom-in;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Simulator */
.simulator-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.sim-btn {
    padding: 10px 15px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.sim-btn:hover, .sim-btn.active {
    background: var(--primary);
    color: var(--white);
}

.sim-result {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--radius);
    margin-top: 20px;
    animation: fadeIn 0.5s ease;
}

.sim-result.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Course Highlight Section */
.highlight-section {
    background: linear-gradient(135deg, var(--primary), #2C1E0A);
    color: var(--white);
}

.premium-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(217, 195, 171, 0.3);
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.premium-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #FFD700;
    color: var(--black);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.course-title {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.course-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-style: italic;
}

.benefits-list {
    list-style: none;
    text-align: left;
    margin: 20px auto;
    max-width: 400px;
}

.benefits-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.course-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.info-item {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.special-offer {
    color: #FFD700;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.testimonial-card {
    background: var(--light-bg);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stars {
    color: #FFD700;
    margin-bottom: 10px;
}

/* Scheduling Form */
.schedule-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-family: var(--font-main);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-group select option {
    background: var(--dark);
    color: var(--white);
}

/* Instagram Grid */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.insta-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.insta-item:hover img {
    transform: scale(1.1);
}

/* Footer CardGo */
.cardgo-footer {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-blue {
    color: #007BFF;
    font-weight: bold;
    margin: 15px 0;
}

.btn-footer {
    background-color: #007BFF;
    color: var(--white);
}

.btn-footer:hover {
    background-color: #0056b3;
}

/* Vitoriaflix */
.vitoriaflix {
    background-color: #141414;
    color: var(--white);
    overflow: hidden;
}

.netflix-row::-webkit-scrollbar {
    display: none;
}

.netflix-item {
    flex: 0 0 auto;
    width: 250px;
    height: 350px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    background-color: #1a1a1a;
}

.netflix-item:hover {
    transform: scale(1.05);
    z-index: 2;
}

.netflix-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.btn-netflix {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: white;
    color: black;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-netflix:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.btn-netflix i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .netflix-item {
        width: 200px;
        height: 280px;
    }
}

/* Vitoriaflix Arrows */
.vflix-arrow {
    position: absolute;
    top: calc(50% - 10px);
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #E50914;
    border: none;
    width: 45px;
    height: 70px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.vflix-arrow:hover {
    background: rgba(20, 20, 20, 0.9);
    color: white;
    transform: translateY(-50%) scale(1.1);
}
.vflix-arrow.left {
    left: 10px;
}
.vflix-arrow.right {
    right: 10px;
}
@media (max-width: 768px) {
    .vflix-arrow {
        width: 35px;
        height: 55px;
        font-size: 1.8rem;
    }
}

/* Vitoriaflix Modal */
.vflix-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}
.vflix-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}
.vflix-modal-content {
    background-color: #181818;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
@media (min-width: 768px) {
    .vflix-modal-content {
        flex-direction: row;
        max-height: 80vh;
    }
}
.vflix-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.vflix-close:hover {
    background: rgba(255,0,0,0.8);
}
.vflix-modal-img-container {
    flex: 1;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 40vh;
}
@media (min-width: 768px) {
    .vflix-modal-img-container {
        max-height: none;
    }
}
.vflix-modal-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.vflix-modal-info {
    flex: 1;
    padding: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.vflix-modal-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}
.vflix-modal-info p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 25px;
}

/* Countdown Timer */
.countdown-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 18px 15px;
    margin: 20px auto;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.timer-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px;
    border-radius: 8px;
    min-width: 65px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timer-val {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    line-height: 1.1;
}

.timer-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Finished course state */
.course-finished {
    filter: grayscale(0.5);
    opacity: 0.8;
    transition: all 0.5s ease;
}

.course-finished .premium-card {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
}
