:root {
            --primary-color: #2c5aa0;
            --secondary-color: #4caf50;
            --gradient-bg: linear-gradient(135deg, #4caf50 0%, #2196f3 100%);
        }

        /* Prevent horizontal scrolling across the whole page */
        html, body {
            overflow-x: hidden !important;
        }

        body {
            font-family: Raleway, Arial, sans-serif;
            line-height: 1.6;
            padding-top: 100px;
        }

        * {
            box-sizing: border-box;
        }

        .container-fluid {
            padding-left: 0;
            padding-right: 0;
        }
        h2 {
            font-weight: 900;
            color:#252525;
            font-size: 40px;
            line-height: 110%;
        }
        p.lead {
            font-size: 18px;
            line-height: 135%;
            font-weight: 600;
        }
        .hero-section {
            background-image: url(img/bg-top2.png);
            background-size: cover;
            color: white;
            padding: 120px 0;
            position: relative;
            overflow: hidden;
            text-align: center;
            
    background-position: center bottom;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.1);
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-subtitle {
            font-size: 1.2rem;
            font-weight: 400;
            opacity: 0.95;
            margin-bottom: 15px;
        }

        .highlight-blue {
            color: #013562;
            font-weight: bold;
            background: rgb(255, 203, 28);
            padding: 2px 8px;
            border-radius: 0px;
            }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 30px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .hero-description {
            font-size: 1.3rem;
            font-weight: 300;
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto 40px;
            opacity: 0.95;
        }
        @media (min-width: 769px) {
        /*    .stats-section {
            clip-path: polygon(0 29%, 100% 0%, 100% 100%, 0% 100%);
            }*/
            .course-card {
                padding: 20px 20px;
                margin:15px;
            }
             .course-card h5 {
                font-size: 24px;
                line-height: 135%;
                font-weight: 900;
            }
        }
        @media (max-width: 768px) {
          /*  .stats-section {clip-path: polygon(0 14%, 100% 0%, 100% 100%, 0% 100%);}*/
            .hero-title {
                font-size: 1.5rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
            
            .hero-description {
                font-size: 0.9rem;
            }
            .course-card {
                padding: 10px 20px;
                margin: 0px;
            }
            .course-card h5 {
                font-size: 15px;
                line-height: 110%;
                font-weight: 900;
            }
        }

        .stats-section {
            background: white;
            padding: 42px 0 30px 0;
           /* margin-top: -80px; */
            position: relative;
            z-index: 3;
            }
/*
        .stats-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 80px;
            background: transparent;
            z-index: -1;
        }*/

        .stat-card {
        text-align: left;
        padding: 30px;
        transition: transform 0.3s ease;
        display: flex;
        justify-content: center;
        align-content: center;
        align-items: center;
        }
                
        .stat-card h5{
            text-transform: uppercase;
            font-size: 15px;
            font-weight: bold;
        }
        .stat-card:hover {
            transform: translateY(-10px);
        }

        .stat-number {
            font-size: 60px;
              line-height: 120%;
            font-weight: bold;
            color: #000;
            display: block;
        }
        .stat-number.plus:before{
            content: '+';
            font-size: 60px;
            color: #feca00;

        }

        .about-section {
            padding: 0px 0;
            background: #FFF;
        }

        .testimonials-section {
            padding: 80px 0;
            overflow: hidden;
        }

        .testimonials-carousel {
            /* When not initialized by Owl we'll keep the old flex behaviour; Owl will override when it adds .owl-carousel */
            display: flex;
            width: auto; /* dynamic width calculated in JS */
            flex-wrap: nowrap;
            transition: transform 0.3s ease;
            cursor: grab;
            user-select: none;
        }

        /* Owl-specific overrides so items size correctly and do not overlap */
        .testimonials-carousel.owl-carousel { display: block; }
        .testimonials-carousel.owl-carousel .owl-stage { display:flex; align-items:stretch; }
        .testimonials-carousel.owl-carousel .owl-item { box-sizing: border-box; padding: 0 12px; }

        /* Hide Owl's nav only for testimonials (they use custom arrows in the layout) */
        .testimonials-carousel.owl-carousel .owl-nav { display: none !important; }

        /* Banners-specific Owl overrides */
        .banners-carousel-track.owl-carousel { display: block; }
        .banners-carousel-track.owl-carousel .owl-stage { display:flex; align-items:stretch; }
        .banners-carousel-track.owl-carousel .owl-item { box-sizing: border-box; padding: 0 12px; }

        /* Hide Owl's injected nav for banners because we use custom arrows */
        .banners-carousel-track.owl-carousel .owl-nav { display: none !important; }

        /* Shared carousel arrow style to match index testimonial arrows */
        .carousel-arrow, .testimonial-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            border: none;
            background: rgba(0,0,0,0.5);
            color: #fff;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display:flex;
            align-items:center;
            justify-content:center;
            cursor:pointer;
            z-index:5;
        }
        .carousel-arrow.prev, .testimonial-arrow.prev { left: 8px; }
        .carousel-arrow.next, .testimonial-arrow.next { right: 8px; }

        /* Ensure Font Awesome icons inside arrows are visible and sized */
        .carousel-arrow i, .testimonial-arrow i { font-size: 18px; line-height: 1; }

        /* Ensure the carousel and images cannot force a horizontal scrollbar */
        .testimonials-container, .testimonials-carousel {
            max-width: 100%;
            box-sizing: border-box;
            -webkit-overflow-scrolling: touch;
        }

        img, .course-icon img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        /* Responsive modal sizing for small screens */
        @media (max-width: 576px) {
            .modal-dialog.modal-xl {
                max-width: 100%;
                margin: 0 12px;
            }
            .modal-body .ratio-16x9 {
                /* keep 16:9 but cap height to 50vh on small screens */
                height: 50vh;
                min-height: 220px;
            }
            .modal-body iframe {
                height: 100% !important;
            }
        }

        .testimonials-carousel:active {
            cursor: grabbing;
        }

        .testimonials-carousel.dragging {
            transition: none;
        }

        .testimonial-card {
            background: var(--primary-color);
            color: white;
            border-radius: 15px;
            padding: 30px;
            margin: 0; /* spacing handled by Owl (.owl-item padding) */
            text-align: center;
            transition: transform 0.3s ease;
            position: relative;
            overflow: hidden;
            min-width: auto;
            flex-shrink: 0;
            pointer-events: auto;
            max-width: none;
            width: 100%; /* let Owl size the item */
            height: 385px;
            display: flex;
            align-content: center;
            flex-direction: column;
            justify-content: center;
            z-index: 2; /* ensure cards sit above potential overlays */
            background-size: cover;
            }

        .testimonials-carousel.dragging .testimonial-card {
            pointer-events: none;
        }

        .testimonial-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255,255,255,0.1);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .testimonial-card:hover::before {
            opacity: 1;
        }

        .testimonial-card h5{
            font-size: 29px;
            font-weight: 900;
            color:#FFF;
        }
        .testimonials-container {
            overflow: hidden;
            padding: 0 15px;
            position: relative;
        }

        .carousel-dots {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            gap: 10px;
        }

        .carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .carousel-dot.active {
            background: var(--primary-color);
        }

        .play-btn {
            background: rgba(255,255,255,0.2);
            border: 3px solid white;
            border-radius: 50%;
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .play-btn:hover {
            background: transparent;
            color: var(--primary-color);
            transform: scale(1.1);
        }

        /* Ensure play button is on top for pointer events */
        .play-btn { z-index: 3; }

        .courses-section {
            background-image: url(img/pattern3.png);
            background-size: initial;
            background-attachment: scroll;
            background-color: #004e9d;
            background-position: top center;
            padding: 80px 0;
            color: white;
        }

        .course-card {
            background: white;
            border-radius: 15px;
            width: 100%;
            color: #333;
            text-align: left;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .course-card2 {
  overflow: hidden;
  border-radius: 16px;
            transition: all 0.3s ease;
}

        .course-card:hover, .course-card2:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        }
        .course-card p {
            font-size:12px;
            line-height: 135%;
        }
       
        .course-icon {
            font-size: 3rem;
            color: #000;
            margin-bottom: 10px;
        }

        .course-icon img {
            width: 50px;
            height: auto;
        }

        .cta-section {
            padding: 80px 0;
        }

        .benefits-section {
            padding: 0px 0px 40px 0px;
            background: white;
        }

        .benefit-card {
            border: 2px solid #e9ecef;
            border-radius: 15px;
            padding: 30px;
            margin: 15px;
            text-align: left;
            transition: all 0.3s ease;
        }

        .benefit-card:hover {
        border-color: #ffca00 !important;
        background-color: #ffca00 !important;
        color: #000;
        transform: translateY(-5px);
        }

    /* Owl carousel visibility fixes: ensure items and images render even if other site CSS targets carousel elements */
    .owl-carousel { display: block !important; }
    .owl-carousel .owl-stage-outer { overflow: hidden !important; }
    .owl-carousel .owl-stage, .owl-carousel .owl-item { display: block !important; }
    .owl-carousel .owl-item { float: left; }
    .owl-carousel .owl-item img { display: block !important; width: 100% !important; height: auto !important; }
    .banners-carousel-track.owl-carousel .banner-card { display: block !important; width: auto !important; max-width: 100% !important; }

    /* make sure nav/dots are above content */
    .owl-nav, .owl-dots { z-index: 10; }

        .faq-section {
            background: #f8f9fa;
            padding: 80px 0;
        }
        .CTA-duvida {
            background-image: url(img/bg-duvidas.png);
            background-size: cover;
            background-position:center;
            background-attachment: fixed;
            padding: 80px 0;
            text-align: center;
        }

        .accordion-button {
            background: white;
            border: none;
            font-weight: 600;
        }

        .accordion-button:not(.collapsed) {
            background: var(--primary-color);
            color: white;
        }

        .btn-primary-custom, .btn-secondary-custom  {
            padding: 12px 30px;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            min-height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left:auto;
            margin-right:auto;
            }

            .btn-primary-custom  {
            background: #feca00;
            outline: 2px solid #feca00;
            border: 3px solid #004e9d;
            color: #004e9d;
            }

            .btn-secondary-custom  {
            background: #45a049;
            outline: 2px solid #45a049;
            border: 3px solid #FFF;
            color: #FFF;
            }

            /* Responsive font sizes based on text length */
            .btn-auto-resize {
                font-size: 16px;
            }

            .btn-auto-resize.long-text {
                font-size: 14px;
            }

            .btn-auto-resize.very-long-text {
                font-size: 10px;
            }

            .btn-auto-resize.extra-long-text {
                font-size: 9px;
            }

        .btn-primary-custom:hover {
            background: #45a049;
            transform: translateY(-2px);
        }

        .floating-animation {
            animation: floating 3s ease-in-out infinite;
        }

        @keyframes floating {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }

        .pulse-animation {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .navbar {
            background: white !important;
            transition: all 0.3s ease;
            min-height: 100px;
            text-transform: uppercase;
            font-weight: bold;
            font-size: 16px;
        }
         .navbar a{
            color: #000 !important;
         }

        .nav-link {
            position: relative;
            display: inline-block;
            text-decoration: none;
            padding: 8px 16px;
            transition: color 0.3s ease;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: #FFD700;
            transition: width 0.4s ease;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .nav-link:hover {
            color: #04499C !important;
        }

        .navbar-brand img {
            height: 60px;
        }

        /* FAQ / Accordion custom styles */
        .faq-card {
            background: #fff;
            border-radius: 14px;
            box-shadow: 0 6px 4px rgba(0,0,0,0.03);
            margin-bottom: 16px;
            overflow: hidden;
            border: 1px solid #D9DBE9;
            transition: all .3s;
        }

        .faq-card .accordion-button {
            background: transparent;
            padding: 26px 24px;
            font-size: 22px;
            font-weight: 900;
            color: #0d0d0d;
            border-radius: 0;
        }

        .accordion-button::after {
            display: none; /* hide default chevron */
        }

        .faq-card .accordion-collapse {
            background: transparent;
        }

        .faq-card .accordion-body {
            padding: 0px 24px 16px 24px;
            color: #333;
            font-size: 15px;
            line-height: 1.6;
            background: #fff;
        }

        .faq-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-left: 16px;
            flex-shrink: 0;
        }

        .faq-icon.blue { background: #04499C; color: #fff; }
        .faq-icon.green { background: #45a049; color: #fff; }

        /* Question slide-in micro-animation */
        .faq-question {
            display: inline-block;
            transform: translateX(-12px);
            opacity: 0.85;
            transition: transform 320ms cubic-bezier(0.2,0.9,0.2,1), opacity 320ms ease;
            font-size:20px;
        }

        .faq-question.active {
            transform: translateX(0);
            opacity: 1;
        }

        /* Icon animation */
        .faq-icon{
            transition: transform 300ms ease, opacity 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
            will-change: transform, opacity;
        }

        .faq-icon.anim {
            transform: rotate(-18deg) scale(1.05);
            opacity: 0.95;
        }

        /* Hover / focus styles for cards and buttons */
        .faq-card:hover {
            box-shadow: 0 14px 34px rgba(0,0,0,0.12);
            transform: translateY(-4px);
        }
/*
        .faq-card .accordion-button:focus {
            outline: none;
            box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        }*/

        /* Typography adjustments for answers */
        .faq-card .accordion-body {
            padding: 0px 24px 28px 24px;
            color: #444;
            font-size: 15.5px;
            line-height: 135%;
        }
        .accordion-item {
            border: none !important;
            background-color: transparent;
        }
        .accordion-button:not(.collapsed) {
            box-shadow: none !important;
        }
        /* Section title slightly larger like the screenshot */
        .faq-section h2 {
            font-size: 48px;
            line-height: 1.05;
            margin-bottom: 0px;
        }

        /* Responsive: full width single column on small screens */
        @media (max-width: 767px) {
            .col-lg-8.mx-auto { padding-left: 16px; padding-right: 16px; }
            .faq-card { margin: 12px 0; border-radius: 12px; }
            .faq-card .accordion-button { font-size: 18px; padding: 18px 16px 18px 24px;}
            .faq-card .accordion-body { font-size: 15px; padding: 16px; }
            .faq-section h2 { font-size: 32px; }
        }

        .accordion-header .accordion-button {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .footer {
            background: #000;
            color: white;
            padding: 16px 0;
            text-align: center;
            font-size: 12px;
        }
        .formas-de-ingresso li {
            border: 1px solid #F1F2F9;
            padding: 16px 16px;
            border-radius: 16px;
            font-size: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
            line-height: 125%;
            }
            .navbar-toggler {
  border: none !important;
  font-size: 36px;
}

.navbar-toggler:focus {
  color: #ffbf00 !important;
  box-shadow: none !important;
}
/* Carousel touch & drag improvements — applied globally to all pages */
.banners-carousel-track,
.testimonials-carousel,
.banners-carousel-viewport,
.banners-carousel-container,
.testimonials-container {
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
}
.banners-carousel-track.dragging,
.testimonials-carousel.dragging,
.banners-carousel-track:active,
.testimonials-carousel:active {
    cursor: grabbing;
    transition: none !important;
}

/* Prevent text/image selection during fast drags */
.banners-carousel-track *,
.testimonials-carousel * {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}