/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #4A90E2;
    --secondary-blue: #2E5FCC;
    --accent-green: #14B8A6;
    --light-green: #2DD4BF;
    --dark-blue: #1E3A8A;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-hero {
    background: var(--accent-green);
    color: white;
    font-size: 18px;
    padding: 16px 32px;
}

.btn-hero:hover {
    background: #0F9488;
    transform: translateY(-2px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15);
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    font-size: 20px;
    padding: 20px 40px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 35px -5px rgba(0, 0, 0, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.brand-highlight {
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    margin-left: auto;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(20px); }
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-light);
}

/* Sobre Section */
.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.sobre-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.sobre-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.sobre-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 4px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 16px;
}

/* Cursos Section */
.cursos {
    background: var(--bg-white);
}

.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.curso-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.curso-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
}

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

.curso-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.curso-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.curso-badge {
    background: var(--accent-green);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.curso-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.curso-descricao {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 16px;
}

.curso-features {
    list-style: none;
    margin-bottom: 32px;
}

.curso-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.curso-features i {
    color: var(--accent-green);
}

.curso-preco {
    margin-bottom: 24px;
}

.preco-mensal {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
}

.preco-total {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
}

.preco-parcelado {
    display: block;
    font-size: 14px;
    color: var(--text-light);
}

.btn-curso {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    justify-content: center;
}

.btn-curso:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Comunidade Section */
.comunidade-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.comunidade-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comunidade-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.comunidade-feature:hover {
    transform: translateX(10px);
}

.comunidade-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.comunidade-info p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.comunidade-beneficios {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.beneficio {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-dark);
}

.beneficio i {
    color: var(--accent-green);
    font-size: 20px;
}

/* Depoimentos Section */
.depoimentos {
    background: var(--bg-white);
}

.depoimentos-slider {
    max-width: 800px;
    margin: 0 auto;
}

.slider-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.depoimento-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
}

.depoimento-card.active {
    opacity: 1;
    transform: translateX(0);
}

.depoimento-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.depoimento-foto {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.depoimento-info h4 {
    font-size: 20px;
    margin-bottom: 4px;
}

.depoimento-info span {
    color: var(--text-light);
    font-size: 14px;
}

.depoimento-text {
    font-size: 18px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.depoimento-nota {
    display: flex;
    gap: 4px;
    color: #FCD34D;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-blue);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary-blue);
    color: white;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Certificações Section */
.certificacoes-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.certificacao-badge {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: white;
    padding: 60px 40px;
    border-radius: var(--border-radius);
    text-align: center;
}

.badge-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 24px;
}

.certificacao-badge h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.certificacoes-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cert-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateX(10px);
}

.cert-card i {
    font-size: 32px;
    color: var(--primary-blue);
}

.cert-card h4 {
    font-size: 20px;
    margin-bottom: 4px;
}

.cert-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Contacto Section */
.contacto {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.contacto-text .section-title {
    font-size: 40px;
    margin-bottom: 20px;
}

.contacto-text p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contacto-item i {
    font-size: 24px;
    color: var(--accent-green);
}

.contacto-item span {
    display: block;
    font-size: 14px;
    opacity: 0.8;
}

.contacto-item a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.contacto-item a:hover {
    text-decoration: underline;
}

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

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-green);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    width: 50px;
    height: 50px;
}

.footer-tagline {
    font-size: 14px;
    opacity: 0.8;
}

.footer-links h4,
.footer-social h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 2;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
    font-size: 14px;
}

.footer-bottom i {
    color: #EF4444;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: var(--secondary-blue);
    transform: translateY(-5px);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 40px;
        transition: left 0.3s;
    }

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

    .mobile-menu-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-logo {
        max-width: 300px;
    }

    .sobre-content,
    .comunidade-content,
    .certificacoes-content,
    .contacto-content {
        grid-template-columns: 1fr;
    }

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

    .curso-card {
        padding: 24px;
    }

    .depoimento-card {
        padding: 24px;
    }

    .slider-controls {
        gap: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section {
        padding: 60px 0;
    }

    .curso-icon,
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .scroll-indicator {
        display: none;
    }
}
