/* Design System - Transport Theme */
:root {
    /* Colors */
    --primary: hsl(210, 100%, 25%);
    --primary-glow: hsl(210, 90%, 65%);
    --primary-dark: hsl(210, 90%, 35%);
    --transport-white: hsl(0, 0%, 67%);
    --transport-green: hsl(150, 80%, 45%);

    --background: hsl(220, 40%, 98%);
    --foreground: hsl(220, 30%, 15%);
    --card: hsl(0, 0%, 100%);
    --muted: hsl(210, 20%, 95%);
    --muted-foreground: hsl(220, 15%, 55%);
    --border: hsl(210, 20%, 88%);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-glow));
    --gradient-hero: hsla(0, 0%, 0%, 0);
    ;
    --gradient-card: linear-gradient(180deg, hsl(0, 0%, 100%), hsl(210, 20%, 98%));

    /* Shadows */
    --shadow-elegant: 0 10px 30px -10px hsla(210, 90%, 45%, 0.2);
    --shadow-card: 0 4px 20px -4px hsla(210, 90%, 45%, 0.1);
    --shadow-glow: 0 0 40px hsla(210, 90%, 65%, 0.3);

    /* Spacing */
    --radius: 0.75rem;
    --container-padding: 1rem;
    --section-padding: 4rem 0;

    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    font-size: var(--font-size-base);
}

.container {
    max-width: 1200px;
    margin: 3.2rem auto;
    padding: 0 var(--container-padding);
}

/* Navbar Style */
header {
    background: #f7f7f7;
    width: 100%;
    height: 80px;
    color: #007fc9;
    position: fixed;
    z-index: 9999;
}

.navbar-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo {
    margin: 10px;
    width: 220px;
    align-items: center;
}

.logo {
    font-weight: 600;
    font-size: 30px;
}

.navbar ul {
    display: flex;
    align-items: center;
}

.navbar ul li {
    margin: 0 15px;
    list-style: none;
}

.navbar ul li a {
    position: relative;
    padding: 8px 0;
    color: #007fc9;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.3s linear;
}

.navbar ul li a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: auto;
    width: 0;
    height: 5px;
    border-radius: 10px;
    background-color: #00a5b1;
    transition: all 0.3s cubic-bezier(1, 1, 1, 1);
}

.nav-link {
    padding: 15px;
    margin: 0.6rem;
}

.login:hover {
    background: #003a92;
}

.navbar ul li a:hover,
.navbar ul li a.active {
    color: #007fc9;
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
    width: 100%;
    right: auto;
    left: 0;
}

.hamburger {
    display: none;
    position: relative;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.hamburger span {
    display: inline-block;
    width: 100%;
    height: 3px;
    background-color: #007fc9;
    position: absolute;
    top: calc(50% - 1.5px);
    left: 0;
    transition: all 0.2s;
}

.hamburger span:first-child {
    transform: translateY(-300%);
    transform-origin: right top;
}

.hamburger span:last-child {
    transform: translateY(300%);
    transform-origin: right bottom;
}

.hamburger.active span:first-child {
    transform: rotate(45deg) scaleX(0.5) translateX(4px);
}

.hamburger.active span:last-child {
    transform: rotate(-45deg) scaleX(0.5) translateX(4px);
}

/* Navbar media query */
@media (max-width: 992px) {
    header {
        padding: 1px;
        background-color: #fff;
    }

    .navbar-container {
        max-width: 940px;
    }

    .hamburger {
        display: block;
    }

    .navbar ul {
        position: fixed;
        top: 80px;
        right: 0;
        width: 220px;
        height: 100%;
        padding: 40px 0;
        background-color: #f7f7f7;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        box-shadow: -8px 2px 10px rgba(0, 0, 0, 0.082);
        transform: translateX(100%);
        text-align: center;
        border-radius: 15px;
        transition: all 0.3s;
    }

    .navbar ul.active {
        transform: translateX(0);
    }

    .navbar ul li {
        margin: 0;
        width: 100%;
    }

    .navbar ul li a {
        display: block;
        padding: 15px;
    }

    .navbar ul li a::after {
        display: none;
    }

    .navbar ul li a:hover {
        color: #080808;
        background-color: #f0f0f0;
    }

    .navbar ul li a.active {
        color: #fff;
        background-color: #4761ff;
        border-radius: 10px;
    }

}

@media (max-width: 768px) {
    header {
        padding: 1px;
        height: 80px;
    }

    .navbar-container {
        max-width: 650px;
    }

    .navbar .logo {
        height: 100%;
    }
}

@media (max-width: 992px) {
    .navbar .logo {
        width: 200px;
    }
}

@media (max-width: 375px) {
    .navbar .logo {
        width: 200px;
    }
}


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn i {
    width: 1rem;
    height: 1rem;
}

.btn-hero {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-hero:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-2px) scale(1.05);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--muted);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-cta-primary {
    background: white;
    color: var(--primary);
}

.btn-cta-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-cta-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    /*     background-image: url(../assets/cecece.png); */
    background-color: #005bcb;
    background-size: contain;
    background-position: right center;
    /* ← move para a direita */
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
}

.hero-content img {
    width: 100%;
    max-width: 700px;
    padding: 20px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    font-size: var(--font-size-sm);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-title-highlight {
    display: block;
    background: #f7f7f7;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: var(--font-size-xl);
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    opacity: 0.8;
}

.hero-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Courses Section */
#courses-section {
    padding: var(--section-padding);
}

#courses-section .container {
    max-width: 100%;
    padding: 0 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-bottom: 4rem;
}

@media (max-width: 1180px) {
    #courses-section .container {
        padding: 0 3rem;
    }

    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1180px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 100vh;
    }

    .hero-content img {
        max-width: 500px;
        padding: 0;
    }

    .text-content h1 {
        margin-top: 30px;
    }
}

.course-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-card);
}

.course-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.badge-level {
    color: white;
}

.badge-iniciante {
    background: var(--transport-green);
}

.badge-intermediario {
    background: var(--transport-orange);
}

.badge-avancado {
    background: var(--primary);
}

.badge-category {
    background: rgba(255, 255, 255, 0.9);
    color: var(--foreground);
}

.course-content {
    flex-grow: 1;
    padding: 1.5rem;
}

.course-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.course-card:hover .course-title {
    color: var(--primary);
}

.course-description {
    color: var(--muted-foreground);
    font-size: var(--font-size-sm);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: var(--font-size-xs);
    color: var(--muted-foreground);
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.course-meta-item i {
    width: 0.875rem;
    height: 0.875rem;
}

.course-features {
    margin-bottom: 1.5rem;
}

.course-features-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-features-title i {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.course-features-list {
    list-style: none;
}

.course-features-list li {
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.course-features-list li::before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.course-footer {
    padding: 0.5rem 1.5rem;
    border-top: 1px solid var(--border);
}

.course-pricing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.course-price {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--primary);
}

.course-original-price {
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
    text-decoration: line-through;
}

.course-access {
    font-size: var(--font-size-xs);
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.course-buttons {
    display: flex;
    gap: 0.5rem;
}

.course-buttons .btn {
    flex: 1;
    justify-content: center;
    font-size: var(--font-size-xs);
    padding: 0.625rem 1rem;
}

.section-footer {
    text-align: center;
}

/* Stats Section */
.stats-section {
    padding: var(--section-padding);
    background: rgba(var(--primary), 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-glow);
}

.stat-icon i {
    width: 2rem;
    height: 2rem;
    color: white;
}

.stat-big-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    background: var(--muted);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--foreground);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.support-text {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: var(--font-size-xl);
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.cta-feature i {
    width: 1rem;
    height: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-description {
        font-size: var(--font-size-lg);
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .courses-grid {
        grid-template-columns: repeat(1, 1fr);
        padding: 0rem;
        gap: 1rem;
    }

    .search-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input-container {
        max-width: none;
    }

    .filters {
        justify-content: stretch;
    }

    .filter-select {
        min-width: auto;
        flex: 1;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-title {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .course-buttons {
        flex-direction: column;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }
}

#about-section {
    padding: 50px 0;
    background: linear-gradient(to right, #000f25, #001e4b, #003a92);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container-about {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    color: #eee;
    line-height: 1.6;
}

.about-text h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.highlight {
    color: #fbff00;
    font-weight: 700;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    flex: 1 1 200px;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .w-section-title {
        font-size: 2rem;
    }

    .about-text,
    .about-image {
        min-width: 100%;
    }
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 12px;
    /* Largura da barra de rolagem */
}

/* Estilizando a parte interna da barra de rolagem */
::-webkit-scrollbar-track {
    background: #303030;
    /* Cor do fundo da barra de rolagem */
}

/* Estilizando o polegar da barra de rolagem */
::-webkit-scrollbar-thumb {
    background: linear-gradient(to top, #003a92, #00a2ff);
    /* Cor do polegar da barra de rolagem */
    border-radius: 15px;
    /* Bordas arredondadas no polegar */
}

/* Cor do polegar ao passar o mouse */
::-webkit-scrollbar-thumb:hover {
    background: #00415f;
    /* Cor do polegar ao passar o mouse */
}

::selection {
    background-color: #001824;
    color: #fff;
}

/* Footer Style */
.site-footer {
    background-color: #111;
    color: #ecf0f1;
    padding: 40px 0 20px;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.footer-section h3 {
    color: #007fc9;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 1px;
    background: #007fc9;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #003a92;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: #f7f7f7;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #003a92;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    /*     border-top: 1px solid #34495e; */
    font-size: 1rem;
}

@media (max-width: 768px) {
    .footer-section {
        flex: 100%;
        margin-bottom: 30px;
    }
}

/* Whatsapp Style */
#whats {
    position: fixed;
    bottom: 3rem;
    right: 2.5rem;
    z-index: 9999;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

#whats:hover {
    filter: brightness(150%);
}

.whats-img {
    width: 55px;
    transition: all 0.3s ease;
}

.whats-api {
    position: fixed;
    bottom: 3rem;
    right: 2.5rem;
    z-index: 9999;
    border-radius: 50px;
    cursor: pointer;
}