/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-orange: #FF6600;
    --primary-orange-light: rgba(255, 102, 0, 0.1);
    --primary-orange-hover: #E05500;
    --primary-gradient: linear-gradient(135deg, #FF8008 0%, #FF6600 100%);
    --primary-gradient-hover: linear-gradient(135deg, #FF952B 0%, #E05500 100%);
    
    --text-dark: #333333;
    --text-muted: #666666;
    --text-light: #999999;
    
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --bg-footer: #1A1A1A;
    --bg-footer-bottom: #111111;
    
    /* Promo Colors */
    --blue-promo-bg: #0F1E36;
    --orange-promo-bg: #F95703;
    
    /* Typography */
    --font-sans: 'Montserrat', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
    
    /* Effects & Transitions */
    --box-shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.05);
    --box-shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.08);
    --box-shadow-premium: 0 15px 35px rgba(255, 102, 0, 0.15);
    --box-shadow-inset: inset 0 2px 4px rgba(0,0,0,0.06);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-round: 50px;
    --border-radius-card: 12px;
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

ul {
    list-style: none;
}

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

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

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.section-tag {
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-tag-center {
    composes: section-tag;
    text-align: center;
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1A1A1A;
}

.section-title-center {
    composes: section-title;
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1A1A1A;
}

.section-description {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 40px;
}

.section-description-center {
    composes: section-description;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
/* ==========================================================================
   BUTTONS (WITH ULTRA-FIDELITY 3D BEVEL & GROW EFFECTS)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px; /* Premium 3D round corners */
    border: none;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), 
                background 0.3s ease, 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
    user-select: none;
}

.btn-primary {
    background: linear-gradient(180deg, #FF7B22 0%, #E65C00 100%);
    color: var(--bg-white);
    border-bottom: 4px solid #B34700; /* 3D Bevel border */
    box-shadow: 0 6px 15px rgba(230, 92, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #FF8D38 0%, #F56B0F 100%);
    transform: scale(1.04) translateY(-1px); /* elementor-grow animation + slight float */
    box-shadow: 0 10px 22px rgba(230, 92, 0, 0.45);
}

.btn-primary:active {
    transform: scale(1.01) translateY(2px); /* Physically presses down! */
    border-bottom-width: 1px; /* Bevel shrinks to match press */
    box-shadow: 0 3px 8px rgba(230, 92, 0, 0.4);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid #E5E5E5;
    border-bottom: 3px solid #D6D6D6; /* Subtle bevel for secondary button */
    box-shadow: var(--box-shadow-soft);
}

.btn-secondary:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: scale(1.04) translateY(-1px);
}

.btn-secondary:active {
    transform: scale(1.01) translateY(2px);
    border-bottom-width: 1px;
}

.btn-accent {
    background: var(--primary-orange);
    color: var(--bg-white);
    border-bottom: 4px solid #B34700;
}

.btn-accent:hover {
    background: var(--primary-orange-hover);
    transform: scale(1.04) translateY(-1px);
}

.btn-accent:active {
    transform: scale(1.01) translateY(2px);
    border-bottom-width: 1px;
}

.btn-white-accent {
    background: var(--bg-white);
    color: var(--primary-orange);
    border-bottom: 4px solid #E5E5E5;
}

.btn-white-accent:hover {
    background: #FFF0E5;
    transform: scale(1.04) translateY(-1px);
}

.btn-white-accent:active {
    transform: scale(1.01) translateY(2px);
    border-bottom-width: 1px;
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 16px 36px;
    font-size: 15px;
}

/* ==========================================================================
   MAIN HEADER NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 249, 251, 0.7); /* Semi-transparent grayish white to let background detail show through */
    backdrop-filter: blur(12px); /* Premium elementor frosted glass */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

/* Scrolled Header State */
.main-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--box-shadow-soft);
    background: rgba(255, 255, 255, 0.95);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: var(--transition-smooth);
}

.main-header.scrolled .logo-img {
    height: 40px;
}

.desktop-nav ul {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-family: 'Saira', sans-serif;
    font-style: normal;
    font-weight: 400;
    color: rgb(51, 51, 102);
    font-size: 18px;
    line-height: 27px;
    position: relative;
    padding: 8px 0;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: var(--transition-smooth);
}

.desktop-nav a:hover {
    color: var(--primary-orange);
}

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

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

/* ==========================================================================
   MOBILE MENU MODAL
   ========================================================================== */
.mobile-nav-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.mobile-nav-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-menu-content {
    text-align: center;
    width: 80%;
}

.logo-img-mobile {
    height: 56px;
    margin: 0 auto 40px auto;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.mobile-link {
    font-family: 'Saira', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: rgb(51, 51, 102);
    transition: var(--transition-smooth);
}

.mobile-link:hover {
    color: var(--primary-orange);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    margin-top: 80px; /* Clear the fixed header height to prevent vertical cutting */
    padding: 60px 0 90px 0; /* Optimized padding for compact layout and perfect background display */
    background-image: url('../images/BG-DOBRA-1-UNIFATECIE-DESKTOP-nova.webp');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #111;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 480px;
    width: 100%;
    pointer-events: none; /* Let clicks pass through empty visual space */
}

/* Floating Courses Box Style */
.floating-courses-card {
    background: var(--bg-white);
    padding: 16px 24px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--box-shadow-medium);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    animation: floatAnim 4s ease-in-out infinite;
    transition: var(--transition-smooth);
}

.floating-courses-card:hover {
    transform: scale(1.03);
    box-shadow: var(--box-shadow-premium);
}

.avatars-group {
    display: flex;
    align-items: center;
}

.avatar-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bg-white);
    margin-left: -12px;
    box-shadow: var(--box-shadow-soft);
}

.avatar-item:first-child {
    margin-left: 0;
}

.courses-count-text h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1.2;
}

.courses-count-text p {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Animations */
@keyframes floatAnim {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

@keyframes studentFloat {
    0% { transform: scale(1.05) translateY(0px); }
    50% { transform: scale(1.05) translateY(-6px); }
    100% { transform: scale(1.05) translateY(0px); }
}

@keyframes elipseRotate {
    from { transform: translate(-45%, -50%) rotate(0deg); }
    to { transform: translate(-45%, -50%) rotate(360deg); }
}

@keyframes dotsFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* ==========================================================================
   WHAT WE OFFER (BENEFITS)
   ========================================================================== */
.benefits-section {
    padding: 100px 0 80px 0;
    background-color: #F8F9FA;
}

.benefits-header {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefits-tag {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: rgb(51, 51, 102);
    text-transform: lowercase;
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 16px;
    display: inline-block;
}

.benefits-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--primary-orange);
    border-radius: 2px;
}

.benefits-title {
    font-family: 'Saira', sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    color: rgb(51, 51, 102);
    margin-bottom: 16px;
    max-width: 900px;
}

.benefits-title-orange {
    color: var(--primary-orange);
}

.benefits-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    row-gap: 48px; /* Extra row gap to prevent icon badge overlap on wrap */
    margin-top: 50px;
}

.benefit-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 48px 24px 32px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.01);
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.benefit-icon-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-gradient);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 15px rgba(255, 102, 0, 0.25);
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon-wrapper {
    transform: translate(-50%, -55%) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.35);
}

.benefit-title {
    font-family: 'Saira', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: rgb(51, 51, 102);
    margin-top: 10px;
    margin-bottom: 12px;
}

.benefit-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

.benefit-badge {
    background: var(--primary-orange);
    border-bottom: 3px solid #B34700;
    color: var(--bg-white);
    font-family: 'Saira', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 8px 0;
    border-radius: 10px;
    width: 80%;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.15);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.benefit-card:hover .benefit-badge {
    transform: scale(1.04);
    box-shadow: 0 6px 15px rgba(255, 102, 0, 0.25);
}

.benefits-action {
    text-align: center;
    margin-top: 50px;
}

/* ==========================================================================
   OFFERS SECTION (BANNERS)
   ========================================================================== */
.offers-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.offers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.offer-card {
    border-radius: var(--border-radius-card);
    padding: 40px;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    box-shadow: var(--box-shadow-medium);
    transition: var(--transition-smooth);
}

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

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

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

.offer-info {
    flex: 1.2;
    z-index: 2;
}

.offer-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
}

.highlight-orange {
    background: var(--bg-white);
    color: var(--primary-orange);
    padding: 0 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 4px;
}

.highlight-white {
    background: var(--bg-white);
    color: var(--orange-promo-bg);
    padding: 0 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 4px;
}

.offer-desc {
    font-size: 14px;
    margin-bottom: 24px;
    opacity: 0.95;
    font-weight: 500;
}

.offer-img-wrapper {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
}

.offer-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.15));
    transition: var(--transition-smooth);
}

.offer-card:hover .offer-img {
    transform: scale(1.1) rotate(5deg);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background-color: #F8F9FA;
    background-image: url('../images/Overlay-objetos.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Perfect Circular Stacking Overlaps Layout */
.about-images-wrapper {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.img-dotted-pattern {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 140px;
    height: 140px;
    opacity: 0.8;
    z-index: 1;
}

.img-orange-bar {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 42px;
    height: auto;
    z-index: 4;
}

.about-frame-1 {
    position: absolute;
    left: 8%;
    top: 5%;
    width: 68%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.about-frame-2 {
    position: absolute;
    right: 12%;
    bottom: 5%;
    width: 44%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 6px solid var(--primary-orange);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(255, 102, 0, 0.15);
    z-index: 3;
}

.img-about-1, .img-about-2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.about-frame-1:hover .img-about-1,
.about-frame-2:hover .img-about-2 {
    transform: scale(1.05);
}

.about-text-content {
    display: flex;
    flex-direction: column;
}

.about-tag-wrapper {
    margin-bottom: 16px;
}

.about-tag {
    font-family: 'Saira', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: rgb(51, 51, 102);
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 6px;
    display: inline-block;
}

.about-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background-color: #CCCCCC;
}

.about-heading {
    font-family: 'Saira', sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15;
    color: rgb(51, 51, 102);
    margin-bottom: 24px;
}

.about-heading-orange {
    color: var(--primary-orange);
}

.about-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Mission Box Accent styling */
.mission-box {
    border-left: 5px solid var(--primary-orange);
    padding: 0 0 0 20px;
    margin: 30px 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.mission-title {
    font-family: 'Saira', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: rgb(51, 51, 102);
    margin-bottom: 12px;
}

.mission-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   COURSES GRADE INTERACTIVE GRID
   ========================================================================== */
.courses-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.courses-tab-container {
    margin-top: 40px;
}

/* Nav tabs row */
.courses-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: none; /* Firefox */
}

.courses-tabs-nav::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
}

.tab-btn {
    padding: 12px 24px;
    background: var(--bg-white);
    border-radius: var(--border-radius-round);
    cursor: pointer;
    font-weight: 700;
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    box-shadow: var(--box-shadow-soft);
    border: 1px solid #EDEDED;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--primary-orange);
    border-color: var(--primary-orange-light);
}

.tab-btn.active {
    background: var(--primary-gradient);
    color: var(--bg-white);
    border-color: transparent;
    box-shadow: var(--box-shadow-premium);
}

/* Tab contents and animation */
.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.course-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.course-item {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #EDEDED;
    box-shadow: 0 2px 6px rgba(0,0,0,0.01);
    transition: var(--transition-smooth);
}

.course-item:hover {
    border-color: var(--primary-orange-light);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-soft);
}

.course-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 13px;
    line-height: 1.3;
}

.course-time {
    color: var(--primary-orange);
    font-size: 10px;
    font-weight: 800;
    background: var(--primary-orange-light);
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    margin-left: 10px;
}

/* ==========================================================================
   HIGHLIGHT CURSES (DESTAQUES)
   ========================================================================== */
.highlights-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.highlights-tab-container {
    margin-top: 40px;
}

.highlights-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: none;
}

.highlights-tabs-nav::-webkit-scrollbar {
    display: none;
}

.hl-tab-btn {
    composes: tab-btn;
    padding: 12px 24px;
    background: var(--bg-white);
    border-radius: var(--border-radius-round);
    cursor: pointer;
    font-weight: 700;
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    box-shadow: var(--box-shadow-soft);
    border: 1px solid #EDEDED;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.hl-tab-btn:hover {
    color: var(--primary-orange);
}

.hl-tab-btn.active {
    background: var(--primary-gradient);
    color: var(--bg-white);
    border-color: transparent;
    box-shadow: var(--box-shadow-premium);
}

.hl-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hl-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Premium Highlight Cards Styling */
.hl-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--box-shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hl-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-premium);
}

.hl-img-box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: #EEE;
}

.hl-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hl-card:hover .hl-card-img {
    transform: scale(1.08);
}

.badge-ead {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-orange);
    color: var(--bg-white);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.hl-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hl-meta {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hl-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hl-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.4;
}

.hl-price-box {
    margin-top: auto;
    margin-bottom: 16px;
    border-top: 1px solid #F5F5F5;
    padding-top: 12px;
}

.price-val {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-orange);
}

.price-period {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 600;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: var(--border-radius-card);
    padding: 30px;
    box-shadow: var(--box-shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-medium);
    border-color: var(--primary-orange-light);
}

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

.student-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.student-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--bg-white);
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow-soft);
}

.student-name {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
}

.verified-badge {
    font-size: 11px;
    color: #28A745;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars-rating {
    color: #FFC107;
    font-size: 11px;
}

.testimonial-text {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
}

/* ==========================================================================
   PHYSICAL UNITS SECTION
   ========================================================================== */
.units-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.unit-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-card);
    padding: 30px 24px;
    box-shadow: var(--box-shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.unit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-medium);
    border-color: var(--primary-orange-light);
}

.unit-icon {
    font-size: 24px;
    color: var(--primary-orange);
    margin-bottom: 16px;
}

.unit-title {
    font-size: 16px;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}

.unit-address {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.4;
}

.unit-cep {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    background: #F9F9F9;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* ==========================================================================
   MAIN FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--bg-footer);
    color: #E0E0E0;
    padding: 80px 0 0 0;
    font-family: var(--font-sans);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.1fr 0.9fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 20px;
}

.footer-desc-text {
    font-size: 13px;
    color: #A0A0A0;
    line-height: 1.5;
}

.footer-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-orange);
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    font-size: 13px;
    color: #A0A0A0;
    font-weight: 600;
}

.footer-links-list a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-contact-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #A0A0A0;
    font-weight: 600;
}

.footer-contact-list i {
    color: var(--primary-orange);
    font-size: 16px;
}

.footer-contact-list a:hover {
    color: var(--primary-orange);
}

/* Social Media Button Circles */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #2A2A2A;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    transform: translateY(-3px);
}

.whatsapp-btn:hover { background-color: #25D366; }
.instagram-btn:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.youtube-btn:hover { background-color: #FF0000; }
.facebook-btn:hover { background-color: #1877F2; }

/* Bottom Bar */
.footer-bottom {
    background-color: var(--bg-footer-bottom);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    color: #777;
    font-weight: 600;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.developer-info {
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   MATRICULA ENROLLMENT MODAL POPUP
   ========================================================================== */
.matricula-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.matricula-modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background: var(--bg-white);
    border-radius: var(--border-radius-card);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.matricula-modal.open .modal-dialog {
    transform: scale(1);
}

.modal-header {
    background: var(--primary-gradient);
    color: var(--bg-white);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 24px;
}

/* Enrollment form layouts */
.enrollment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #D5D5D5;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ==========================================================================
   WIDGETS (WHATSAPP & BACK TO TOP)
   ========================================================================== */
.floating-whatsapp-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
}

.floating-whatsapp-widget:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Tooltip on widget hover */
.floating-whatsapp-widget .tooltip-text {
    position: absolute;
    right: 74px;
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--box-shadow-medium);
}

.floating-whatsapp-widget:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 29px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid #EAEAEA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--box-shadow-soft);
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-orange);
    color: var(--bg-white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-medium);
}

/* ==========================================================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */

/* Tablet & Smaller Devices (Large screens wrap) */
@media (max-width: 1024px) {
    .hero-section {
        background-image: url('../images/BG-DOBRA-1-UNIFATECIE-MOBILE.webp');
        background-position: 50% 100%;
        padding: 140px 0 380px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-visual {
        display: none;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-images-wrapper {
        min-height: 400px;
    }
    
    .course-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .units-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Screens / Mobile Specific */
@media (max-width: 600px) {
    .desktop-nav, .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-section {
        padding: 120px 0 340px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 15px;
    }

    .hero-visual {
        display: none;
    }
    
    .floating-courses-card {
        padding: 12px 16px;
        gap: 12px;
        margin: 0 auto 24px auto;
        display: inline-flex;
    }
    
    .avatar-item {
        width: 38px;
        height: 38px;
    }
    
    .courses-count-text h3 {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-card {
        padding: 24px;
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }
    
    .offer-img-wrapper {
        justify-content: center;
    }
    
    .offer-img {
        width: 120px;
        height: 120px;
    }
    
    .about-images-wrapper {
        min-height: 300px;
    }
    
    .about-frame-1 {
        left: 8%;
        top: 5%;
    }
    
    .about-frame-2 {
        right: 8%;
        bottom: 5%;
    }
    
    .about-heading {
        font-size: 24px;
    }
    
    .courses-tabs-nav, .highlights-tabs-nav {
        justify-content: flex-start;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Courses Grid under tab in Mobile should be vertical card lists to read better */
    .course-list-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    
    .course-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 10px !important;
        min-height: 90px;
        justify-content: center;
    }
    
    .course-name {
        font-size: 11px !important;
        margin-bottom: 6px;
    }
    
    .course-time {
        margin-left: 0 !important;
        font-size: 9px !important;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .units-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .modal-dialog {
        width: 95%;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
