:root {
    /* Colors */
    --primary-color: #0c3b5e;
    --primary-light: #165a8c;
    --primary-dark: #061c2d;
    --secondary-color: #00a8e8; /* Bright blue for accents */
    --accent-gold: #cba052; /* Premium gold accent */
    --text-main: #222222;
    --text-muted: #555555;
    --bg-light: #f4f7f9;
    --bg-white: #ffffff;
    --white: #ffffff;
    --whatsapp: #25d366;
    --whatsapp-hover: #128c7e;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0c3b5e 0%, #061c2d 100%);
    --gradient-accent: linear-gradient(135deg, #00a8e8 0%, #0c3b5e 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Typography */
    --font-family: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    scroll-margin-top: 80px;
}

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

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 20px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: all var(--transition-normal);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

#header.scrolled {
    padding: 5px 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition-normal);
}

#header.scrolled .header-container {
    height: 75px;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary-dark);
    position: relative;
    font-size: 1.05rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.btn-ava {
    background: var(--gradient-accent);
    color: var(--white) !important;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 700;
}
.btn-ava::after { display: none !important; }
.btn-ava:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Page Header (Inner pages) */
.page-header {
    padding: 160px 0 80px;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Abstract CSS shapes instead of images */
.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,168,232,0.3) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(203,160,82,0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

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

/* Sophisticated CSS Background for Hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0, 168, 232, 0.2) 0%, transparent 50%);
    z-index: 1;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-white), transparent);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease backwards;
}

.hero-content h1 span {
    color: var(--secondary-color);
    position: relative;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons .btn {
    padding: 12px 25px;
    font-size: 0.95rem;
}

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

@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        justify-content: center !important;
        text-align: center;
    }
    .hero-image {
        display: none !important;
    }
    .hero-buttons {
        justify-content: center;
    }
}

/* Glassmorphism Cards (Premium Look) */
.glass-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

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

.glass-card:hover::before {
    transform: scaleX(1);
}

/* Quem Somos */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

/* Portal de Cursos (Home) */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.portal-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 30px;
}

.portal-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.portal-card:hover .portal-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-accent);
}

.portal-card h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.portal-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

/* Diferenciais Section */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.dif-card {
    background: transparent;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 15px;
    transition: var(--transition-normal);
}

.dif-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-10px);
}

.dif-card i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

/* Area Grid (Inside Course Pages) */
.area-section {
    margin-bottom: 60px;
}

.area-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.area-title i {
    color: var(--secondary-color);
}

.course-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.course-item {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 5px solid var(--primary-color);
    transition: var(--transition-normal);
}

.course-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--secondary-color);
}

.course-item h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.course-item i {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.course-item:hover i {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Contato */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--white);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.info-item strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.phones-list p {
    margin: 5px 0;
    font-size: 1.1rem;
}

.phones-list span {
    color: var(--secondary-color);
    font-weight: 600;
}

.contact-form {
    padding: 60px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 168, 232, 0.1);
}

/* Imagens e Texto (Home) */
.image-text-section {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}
.image-text-section.reverse {
    flex-direction: row-reverse;
}
.image-block {
    flex: 1;
    position: relative;
}
.image-block img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.image-block::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--gradient-accent);
    border-radius: 20px;
    z-index: -1;
}
.image-text-section.reverse .image-block::before {
    left: auto;
    right: -20px;
}
.text-block {
    flex: 1;
}
.text-block h3 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}
.text-block p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Depoimentos */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
    border-top: 5px solid var(--secondary-color);
}
.testimonial-card::after {
    content: '\f10d'; /* quote icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: rgba(0, 168, 232, 0.1);
}
.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.author-info h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
}
.author-info span {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 70px;
    background: var(--white);
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.footer-logo p {
    font-size: 1.1rem;
}

.footer-links h4,
.footer-social h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    text-align: center;
    font-size: 1rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 70px;
    height: 70px;
    background-color: var(--whatsapp);
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1) rotate(5deg);
    color: var(--white);
    animation: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
    .image-text-section, .image-text-section.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .image-block::before {
        display: none;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .footer-links h4::after, .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition-normal);
        box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.1);
    }

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

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .hero {
        padding-top: 100px;
    }
    .section {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}
