/* =============================================
   MISSÃO 193 - CORPO DE BOMBEIROS
   Design System + Components
   ============================================= */

/* Module Imports removidos - arquivos carregados individualmente no head.php */

/* CSS Variables */
:root {
    /* Colors - Tema Corpo de Bombeiros */
    --primary: #ff7700;
    --primary-dark: #cc5f00;
    --primary-light: #ff9544;
    --secondary: #dc2626;
    --secondary-dark: #b91c1c;
    --accent: #fbbf24;
    --accent-dark: #d97706;

    /* Neutrals */
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --gray-900: #1e293b;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748b;
    --gray-500: #94a3b8;
    --gray-400: #cbd5e1;
    --gray-300: #e2e8f0;
    --gray-200: #f1f5f9;
    --gray-100: #f8fafc;
    --white: #ffffff;

    /* Semantic */
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    --gradient-about: linear-gradient(135deg, #ff7700 0%, #dc2626 50%, #fbbf24 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --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;

    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(255, 119, 0, 0.3);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;

    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;
}

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

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--gray-100);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul,
ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

.gradient-text {
    background: var(--gradient-about);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn i {
    font-size: 1.1em;
}

.btn-sm {
    padding: var(--spacing-2) var(--spacing-4);
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-base);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md), 0 4px 20px rgba(255, 119, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 8px 30px rgba(255, 119, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

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

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

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

.btn-success:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

/* =============================================
   BADGES & TAGS
   ============================================= */

.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-1) var(--spacing-3);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-featured {
    background: var(--gradient-primary);
    color: var(--white);
}

.badge-new {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
}

.tag {
    display: inline-flex;
    padding: var(--spacing-1) var(--spacing-2);
    font-size: var(--font-size-xs);
    font-weight: 500;
    background: var(--gray-200);
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
}

/* =============================================
   SECTION UTILITIES
   ============================================= */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-12);
}

.section-badge {
    display: inline-block;
    padding: var(--spacing-2) var(--spacing-4);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary);
    background: rgba(255, 119, 0, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-4);
}

.section-badge-light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

.section-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-4);
    color: var(--dark);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-4) 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition);
}

.header.scrolled {
    padding: var(--spacing-3) 0;
    box-shadow: var(--shadow-lg);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-8);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-xl);
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--white);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-1);
}

.nav-link {
    padding: var(--spacing-2) var(--spacing-4);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-400);
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-2);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

/* Mobile Menu */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: var(--spacing-6);
        gap: var(--spacing-2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: var(--spacing-3) var(--spacing-4);
    }

    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--spacing-16)) 0 var(--spacing-24);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 119, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-4);
    background: rgba(255, 119, 0, 0.2);
    color: var(--primary-light);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 119, 0, 0.3);
    margin-bottom: var(--spacing-6);
}

.hero-badge i {
    color: var(--warning);
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-6);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-400);
    max-width: 700px;
    margin: 0 auto var(--spacing-8);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-12);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-12);
    padding-top: var(--spacing-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--white);
}

.hero-stat-label {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-6);
    }
}

/* =============================================
   COURSES SECTION
   ============================================= */

.courses {

    background: var(--gray-100);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 280px));
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-12);
    justify-content: center;
}

@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(3, minmax(0, 280px));
    }
}

@media (max-width: 900px) {
    .courses-grid {
        grid-template-columns: repeat(2, minmax(0, 280px));
    }
}

@media (max-width: 600px) {
    .courses-grid {
        grid-template-columns: minmax(0, 320px);
    }
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

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

.course-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: var(--spacing-4);
    left: var(--spacing-4);
    z-index: 2;
}

.course-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-content {
    padding: var(--spacing-5);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-3);
}

.course-tags .tag {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--tag-color, var(--primary)) 15%, transparent);
    color: var(--tag-color, var(--primary));
    font-weight: 600;
    border: 1px solid color-mix(in srgb, var(--tag-color, var(--primary)) 30%, transparent);
}

.course-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-3);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-description {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    margin-bottom: var(--spacing-4);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: var(--spacing-4);
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}

.course-price {
    display: flex;
    flex-direction: column;
}

.price-original {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    text-decoration: line-through;
}

.price-current {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary);
}

.course-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--transition-fast);
    padding: var(--spacing-2) var(--spacing-4);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: var(--radius-lg);
}

.course-link:hover {
    gap: var(--spacing-3);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(255, 119, 0, 0.2) 100%);
}

.courses-cta {
    text-align: center;
}

/* =============================================
   CTA BANNER
   ============================================= */

.cta-banner {
    padding: var(--spacing-8) 0;
    background: var(--gray-100);
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-6);
    padding: var(--spacing-8) var(--spacing-10);
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.cta-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-6);
}

.cta-logo {
    height: 60px;
    width: auto;
}

.cta-text h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-1);
}

.cta-text p {
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .cta-card {
        flex-direction: column;
        text-align: center;
    }

    .cta-content {
        flex-direction: column;
    }
}

/* =============================================
   ABOUT SECTION WITH BIO CARD
   ============================================= */

.about-section {
    position: relative;
    padding: var(--spacing-24) 0;
    background: var(--gray-100);
}

.bio-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    margin-bottom: var(--spacing-12);
}

.bio-image {
    width: 40%;
    position: relative;
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%);
}

.bio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-content {
    flex: 1;
    padding: var(--spacing-10);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bio-title {
    font-size: 2.25rem;
    /* ~36px */
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--spacing-6);
    line-height: 1.2;
}

.bio-text {
    margin-bottom: var(--spacing-6);
}

.bio-text p {
    font-size: var(--font-size-base);
    color: var(--gray-600);
    margin-bottom: var(--spacing-4);
    line-height: 1.6;
}

.bio-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-8);
}

.bio-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.feature-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.875rem;
}

.bio-features span {
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    font-weight: 500;
}

.bio-quote {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: var(--spacing-6);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-weight: 700;
    font-size: var(--font-size-lg);
    text-align: center;
    position: relative;
}

/* Stats Row */
.bio-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-6);
    text-align: center;
}

.bio-stat-item {
    background: var(--white);
    padding: var(--spacing-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition);
}

.bio-stat-item:hover {
    transform: translateY(-5px);
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: var(--spacing-2);
}

.stat-lbl {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 991px) {
    .bio-card {
        flex-direction: column;
    }

    .bio-image {
        width: 100%;
        height: 300px;
    }

    .bio-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .bio-stats {
        grid-template-columns: 1fr;
    }

    .bio-title {
        font-size: 1.75rem;
    }
}

/* =============================================
   FEATURES SECTION (Pink Cards)
   ============================================= */

.features-section {
    padding: var(--spacing-24) 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-6);
    margin-top: var(--spacing-12);
}

.feature-card {
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-8);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    transition: transform var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(219, 39, 119, 0.4);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-6);
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.75rem;
    /* ~28px */
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    line-height: 1.1;
    color: var(--white);
}

.feature-desc {
    font-size: var(--font-size-base);
    line-height: 1.5;
    opacity: 0.95;
    margin: 0;
}

/* Responsiveness */
@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   CONNECT SECTION (Conecte-se com a Fabi)
   ============================================= */

.connect-section {
    padding: var(--spacing-16) 0 var(--spacing-24);
    background: var(--gray-100);
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-6);
    margin-top: var(--spacing-8);
}

.connect-card {
    display: block;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    /* Vertical format like the reference */
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-md);
}

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

.connect-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.connect-card:hover img {
    transform: scale(1.05);
}

/* Responsiveness */
@media (max-width: 991px) {
    .connect-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Keep 3 cols on tablet if possible, or maybe scroll */
        gap: var(--spacing-4);
    }
}

@media (max-width: 768px) {
    .connect-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        max-width: 400px;
        /* Limit width of single cards */
        margin-left: auto;
        margin-right: auto;
    }
}

/* =============================================
   NEWSLETTER / LEAD SECTION (Pink Block)
   ============================================= */

.newsletter-section {
    padding: var(--spacing-12) 0;
    background: var(--gray-100);
}

.newsletter-card {
    background: #cc5f00;
    /* Deep pink color from image */
    background: linear-gradient(90deg, #cc5f00 0%, #cc5f00 100%);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    display: flex;
    align-items: center;
    /* Center vertically */
    box-shadow: var(--shadow-xl);
    min-height: 450px;
}

.newsletter-content {
    flex: 1;
    padding: var(--spacing-12) var(--spacing-16);
    color: var(--white);
    max-width: 60%;
}

.newsletter-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-6);
    color: var(--white);
}

.newsletter-desc {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-8);
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.5;
    max-width: 90%;
}

.newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    background: var(--white);
    color: #cc5f00;
    padding: var(--spacing-3) var(--spacing-8);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--font-size-base);
    transition: all var(--transition);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #cc5f00;
}

.newsletter-image {
    flex: 1;
    height: 100%;
    min-height: 450px;
    background: #fdf2f8;
    /* Light pink/white bg for the image part if needed, or transparent */
    background-image: url('https://placehold.co/600x600/f3f4f6/333333?text=Imagem+Fabi');
    /* Fallback */
    background-size: cover;
    background-position: center;
    position: relative;
    /* In the reference, the image is on a white/light background on the right */
    background-color: var(--white);
}

.newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Responsiveness */
@media (max-width: 991px) {
    .newsletter-card {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-content {
        max-width: 100%;
        padding: var(--spacing-10);
    }

    .newsletter-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .newsletter-image {
        width: 100%;
        min-height: 300px;
        order: -1;
        /* Image on top on mobile? Or bottom. Reference puts text prominent. Let's keep it below. */
        order: 1;
    }
}

/* =============================================
   TESTIMONIALS SECTION (Masonry / Grid)
   ============================================= */

.testimonials-section {
    padding: var(--spacing-20) 0;
    background: var(--dark);
    /* Dark background like reference */
    color: var(--white);
}

.testimonials-bg {
    background-color: #0f172a;
    /* Fallback */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-4);

    /* Optional: Masonry attempt with CSS columns if grid is too rigid */
    /* column-count: 3; column-gap: var(--spacing-4); */
}

/* Using CSS Columns for true Masonry effect regarding diff heights */
.masonry-grid {
    column-count: 3;
    column-gap: var(--spacing-4);
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: var(--spacing-4);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: transform var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.masonry-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(255, 255, 255, 0.1);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

.section-title-light {
    color: var(--white);
}

.section-subtitle-light {
    color: var(--gray-400);
}

/* Responsiveness */
@media (max-width: 991px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* =============================================
   PARTNERS CTA
   ============================================= */

.partners-cta {
    padding: var(--spacing-8) 0;
    background: var(--gray-100);
}

.partners-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-6);
    padding: var(--spacing-10) var(--spacing-12);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl), 0 10px 40px rgba(255, 119, 0, 0.3);
}

.partners-content h3 {
    font-size: var(--font-size-2xl);
    color: var(--white);
    margin-bottom: var(--spacing-2);
}

.partners-content p {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .partners-card {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */

.testimonials {
    padding: var(--spacing-24) 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-8);
}

.testimonial-card {
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    padding: var(--spacing-8);
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
}

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

.testimonial-rating {
    display: flex;
    gap: var(--spacing-1);
    margin-bottom: var(--spacing-4);
}

.testimonial-rating i {
    color: var(--warning);
    font-size: var(--font-size-sm);
}

.testimonial-text {
    font-size: var(--font-size-base);
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--spacing-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 2px solid var(--primary);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--dark);
}

.author-role {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    background: var(--dark);
    color: var(--gray-400);
}

.footer-top {
    padding: var(--spacing-16) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-12);
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--spacing-5);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    transition: opacity var(--transition-fast);
}

.footer-logo:hover .footer-logo-img {
    opacity: 0.8;
}

.footer-description {
    font-size: var(--font-size-sm);
    line-height: 1.7;
    margin-bottom: var(--spacing-6);
}

.footer-social {
    display: flex;
    gap: var(--spacing-3);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: var(--font-size-base);
    color: var(--white);
    margin-bottom: var(--spacing-5);
}

.footer-links ul li {
    margin-bottom: var(--spacing-3);
}

.footer-links a {
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

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

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-4);
    font-size: var(--font-size-sm);
}

.footer-contact i {
    color: var(--primary);
    font-size: var(--font-size-base);
    width: 20px;
}

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

.footer-bottom {
    padding: var(--spacing-6) 0;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-4);
}

.footer-bottom p {
    font-size: var(--font-size-sm);
}

.footer-bottom i.fa-heart {
    color: var(--secondary);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================================
   BACK TO TOP
   ============================================= */

.back-to-top {
    position: fixed;
    bottom: var(--spacing-8);
    right: var(--spacing-8);
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    box-shadow: var(--shadow-lg), 0 4px 20px rgba(255, 119, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
}

/* =============================================
   ANIMATIONS
   ============================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* =============================================
   HERO BANNER - REFERENCE STYLE ADJUSTMENTS
   ============================================= */

.hero-banner {
    padding-top: calc(80px + var(--spacing-16));
    padding-bottom: var(--spacing-16);
    background: radial-gradient(circle at 15% 30%, #fff1f2 0%, #fff5f7 30%, #ffffff 70%);
    position: relative;
    overflow: hidden;
}

.hero-banner-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

/* Grid Layout */
/* Grid Layout */
.hero-banner-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
    margin-bottom: var(--spacing-10);
}

/* Typography Styles */
.hero-banner-title {
    font-family: var(--font-family, sans-serif);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.10;
    color: #1e293b;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-6);
}

.hero-banner-title .gradient-text {
    background: none;
    -webkit-text-fill-color: initial;
    color: #0f172a;
}

.hero-banner-text {
    font-size: 1.05rem;
    color: #475569;
    font-weight: 400;
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: var(--spacing-8);
}

.hero-banner-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1e293b;
    margin-bottom: var(--spacing-4);
}

/* Buttons */
.hero-banner-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-hero.btn-primary {
    background: #22c55e;
    color: #ffffff;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(34, 197, 94, 0.3), 0 2px 4px -1px rgba(34, 197, 94, 0.1);
    letter-spacing: 0.02em;
    border: none;
}

.btn-hero.btn-primary:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.4);
}

.btn-hero.btn-outline {
    background: transparent;
    color: #f97316;
    border: none;
    padding-left: 0;
}

/* Banner Images */
.hero-banner-square {
    display: flex;
    justify-content: flex-end;
}

.banner-img-square {
    max-width: 100%;
    height: auto;
    box-shadow: none;
    border-radius: 1rem;
}

.hero-banner-rectangular {
    width: 100%;
    margin-top: var(--spacing-12);
}

.banner-img-rectangular {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.banner-link {
    display: block;
    transition: transform 0.3s ease;
}

.banner-link:hover {
    transform: scale(1.02);
}

/* Placeholder */
.banner-placeholder {
    width: 100%;
    height: 300px;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

@media (max-width: 991px) {
    .hero-banner-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
        text-align: center;
    }

    .hero-banner-content {
        padding-right: 0;
        margin: 0 auto;
    }

    .hero-banner-buttons {
        align-items: center;
    }

    .hero-banner-square {
        justify-content: center;
        order: -1;
    }
}

/* =============================================
   HERO STYLE - MISSÃO 193 BOMBEIROS
   Fundo Preto com Degradê Laranja para Branco
   ============================================= */

/* Background Principal: Preto -> Laranja -> Branco */
.hero-banner {
    background: linear-gradient(180deg, #000000 0%, #000000 25%, #1a1a1a 40%, #ff7700 60%, #ffffff 85%, #ffffff 100%) !important;
}

/* Revert Button to Default Blue Layout */
.btn-hero.btn-primary {
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    font-style: normal !important;
    text-transform: none !important;
    padding: var(--spacing-3) var(--spacing-6) !important;
    box-shadow: var(--shadow-md), 0 4px 20px rgba(255, 119, 0, 0.3) !important;
    letter-spacing: normal !important;
    border-radius: var(--radius-lg) !important;
}

.btn-hero.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg), 0 8px 30px rgba(255, 119, 0, 0.4) !important;
}

/* =============================================
   HERO STYLE ADJUSTMENTS (Darker Gradient)
   ============================================= */

/* Degradê Laranja Intenso (#ff7700) */
.hero-banner {
    background: radial-gradient(circle at 10% 20%, rgba(255, 119, 0, 0.6) 0%, rgba(255, 119, 0, 0.2) 60%, #ffffff 95%) !important;
}

/* Versão alternativa: Degradê mais suave */
/*
.hero-banner {
    background: linear-gradient(180deg, #000000 0%, #1a1a1a 35%, #ff7700 55%, #ffb366 70%, #ffffff 90%) !important;
}
*/

/* =============================================
   HERO BUTTON ADJUSTMENTS
   ============================================= */

/* Reduced Border Radius for Hero Buttons */
.btn-hero,
.btn-hero.btn-primary,
.btn-hero.btn-outline {
    border-radius: 6px !important;
}

/* =============================================
   GLOBAL BUTTON ADJUSTMENTS
   ============================================= */

/* Reduced Border Radius for ALL Buttons */
.btn,
button,
input[type="submit"],
input[type="button"],
.btn-primary,
.btn-outline,
.btn-glass,
.btn-white,
.btn-success {
    border-radius: 6px !important;
}

/* =============================================
   HERO TYPOGRAPHY ADJUSTMENTS
   ============================================= */

.hero-banner-title {
    /* Reduced size as requested */
    font-size: clamp(1.8rem, 3.5vw, 2.5rem) !important;

    /* Enforcing Project Standard Font */
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;

    /* Adjusted weight to match project standard headings */
    font-weight: 800 !important;

    /* Keeping uppercase/italic if it fits reference, but ensuring font-family is standard. 
       If "padrão" meant removing italic, we can add font-style: normal; here. 
       I will keep italic for now as it was a strong previous request, but clean up the family. */
}

/* =============================================
   HERO BADGE ADJUSTMENTS
   ============================================= */

.hero-banner-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 20px !important;
    background-color: #112e33 !important;
    /* Dark Teal Background */
    color: #2dd4bf !important;
    /* Bright Teal Text */
    border: 1px solid rgba(45, 212, 191, 0.3) !important;
    /* Subtle border */
    border-radius: 50px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

.hero-banner-badge i {
    color: #f59e0b !important;
    /* Star Color */
    font-size: 1rem !important;
}

/* =============================================
   COURSES SECTION SPACING ADJUSTMENT
   ============================================= */

#cursos.courses {
    padding-top: 60px !important;
    /* Ensure generous spacing (approx 20px more than tight) */
    /* Extra physical separation */
}

/* =============================================
   BUTTON RADIUS ADJUSTMENT
   ============================================= */

/* Slightly Rounder Buttons (10px) */
.btn,
button,
input[type="submit"],
input[type="button"],
.btn-primary,
.btn-outline,
.btn-glass,
.btn-white,
.btn-success,
.btn-hero {
    border-radius: 10px !important;
}

/* =============================================
   BUTTON RADIUS ADJUSTMENT (Rounder)
   ============================================= */

/* Even Rounder Buttons (18px) */
.btn,
button,
input[type="submit"],
input[type="button"],
.btn-primary,
.btn-outline,
.btn-glass,
.btn-white,
.btn-success,
.btn-hero {
    border-radius: 18px !important;
}

/* =============================================
   HERO BUTTON SPECIFIC RADIUS FIX
   ============================================= */

/* Force Heros Button to match global radius (Fixing specificity issue) */
.btn-hero.btn-primary {
    border-radius: 18px !important;
}

/* =============================================
   HOME NEWS SECTION (Bento Grid)
   ============================================= */

.home-news {
    background-color: #f9f8f6;
    /* Off-white matching reference */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Decorative Stripes Top Left */
.news-decoration-lines {
    position: absolute;
    top: -10px;
    left: -10px;
    display: flex;
    gap: 12px;
    transform: skewX(-25deg);
}

.news-decoration-lines span {
    display: block;
    width: 25px;
    height: 100px;
    background: #ff6b00;
    /* Brand Orange */
}

/* Header */
.news-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

.news-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #1e293b;
    line-height: 1.2;
    text-align: left;
    max-width: 700px;
}

.news-cta-btn {
    background: #ff6b00;
    /* Orange */
    color: white !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(255, 107, 0, 0.2);
}

.news-cta-btn:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 107, 0, 0.3);
}

/* Bento Grid Layout */
.news-bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 24px;
    height: 550px;
    /* Fixed height for desktop to ensure alignment */
}

.news-right-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.news-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    flex-grow: 1;
    /* Fill remaining height */
    height: 100%;
}

/* Cards */
.news-card {
    position: relative;
    display: block;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.news-card-large {
    height: 100%;
}

.news-card-wide {
    height: 50%;
    /* Half of grid height */
    min-height: 250px;
}

.news-card-small {
    height: 100%;
    /* Fill the row height */
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
    transition: background 0.3s;
}

.news-card:hover .news-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    color: white;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px #000000;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 991px) {
    .news-header-flex {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .news-bento-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .news-card-large {
        height: 350px;
    }

    .news-right-col {
        height: auto;
    }

    .news-card-wide {
        height: 280px;
    }

    .news-bottom-row {
        height: auto;
    }

    .news-card-small {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .news-bottom-row {
        grid-template-columns: 1fr;
    }

    .news-title {
        font-size: 1.75rem;
    }
}

/* =============================================
   ABOUT SECTION SPACING FIX
   ============================================= */

/* Force removal of top spacing */
html body .about-section,
section.about-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* =============================================
   NEWSLETTER CTA - New Style (Image Reference)
   ============================================= */

.newsletter-cta {
    padding: 60px 0;
    background: #f8fafc;
}

.newsletter-card-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ff7700;
    border-radius: 24px;
    overflow: hidden;
    min-height: 350px;
    align-items: center;
}

.newsletter-content-new {
    padding: 50px 60px;
    color: white;
}

.newsletter-content-new h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.newsletter-content-new p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
    color: white;
}

.btn-newsletter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #ff7700 !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-newsletter:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #fff5f7;
}

.btn-newsletter i {
    transition: transform 0.3s ease;
}

.btn-newsletter:hover i {
    transform: translateX(5px);
}

.newsletter-image-new {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: #f8fafc;
    overflow: hidden;
}

.newsletter-image-new img {
    max-height: 380px;
    width: auto;
    object-fit: contain;
    object-position: bottom;
}

/* Responsive */
@media (max-width: 991px) {
    .newsletter-card-new {
        grid-template-columns: 1fr;
    }

    .newsletter-content-new {
        padding: 40px 30px;
        text-align: center;
    }

    .newsletter-image-new {
        height: 300px;
        order: -1;
    }

    .newsletter-image-new img {
        max-height: 280px;
    }
}

/* =============================================
   PLATFORM FEATURES - Pink Cards Style
   ============================================= */

.platform-features {
    padding: 80px 0;
    background: #f8fafc;
}

.platform-features .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.platform-badge {
    display: inline-block;
    background: #ff7700;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.platform-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #1e293b;
    line-height: 1.3;
    max-width: 600px;
    margin: 0 auto;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.platform-card {
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.3);
}

.platform-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.platform-icon i {
    font-size: 1.25rem;
    color: white;
}

.platform-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.platform-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
    color: white;
}

/* Responsive */
@media (max-width: 991px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }

    .platform-card {
        padding: 25px;
    }
}

/* =============================================
   ABOUT PROFESSOR - New Style
   ============================================= */

.about-professor {
    padding: 80px 0;
    background: #f8fafc;
}

.professor-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    align-items: start;
}

.professor-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%);
}

.professor-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.professor-content {
    padding: 20px 0;
}

.professor-title {
    font-size: 2rem;
    font-weight: 800;
    font-style: italic;
    color: #14b8a6;
    margin-bottom: 20px;
}

.professor-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 15px;
}

.professor-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.professor-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
}

.feature-check {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.feature-check.teal {
    background: #14b8a6;
}

.feature-check.purple {
    background: #8b5cf6;
}

.feature-check.blue {
    background: #3b82f6;
}

.feature-check.pink {
    background: #ff7700;
}

.professor-quote {
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%);
    color: white;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    margin-top: 25px;
}

/* Stats Row */
.professor-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-box {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid transparent;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box.teal-border {
    border-top-color: #14b8a6;
}

.stat-box.purple-border {
    border-top-color: #8b5cf6;
}

.stat-box.blue-border {
    border-top-color: #3b82f6;
}

.stat-box.pink-border {
    border-top-color: #ff7700;
}

.stat-box .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-box .stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 991px) {
    .professor-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .professor-image {
        max-width: 350px;
        margin: 0 auto;
    }

    .professor-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .professor-card {
        padding: 25px;
    }

    .professor-stats {
        grid-template-columns: 1fr;
    }

    .professor-title {
        font-size: 1.5rem;
    }
}

/* =============================================
   CONNECT WITH FABI - Simple Image Cards
   ============================================= */

.connect-fabi {
    padding: 80px 0;
    background: white;
}

.connect-fabi .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.connect-fabi .section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #1e293b;
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.connect-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.connect-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.connect-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.connect-card:hover img {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 991px) {
    .connect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .connect-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   TESTIMONIALS GALLERY - Image Grid
   ============================================= */

.testimonials-gallery {
    padding: 80px 0;
    background: #1e293b;
}

.testimonials-gallery .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-badge {
    display: inline-block;
    background: #ff7700;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.testimonials-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.testimonials-subtitle {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 500px;
    margin: 0 auto;
}

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

.testimonial-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.testimonial-img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

/* Responsive */
@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-title {
        font-size: 1.75rem;
    }
}

/* =============================================
   TESTIMONIALS - No Gap (Images touching)
   ============================================= */

.testimonials-grid {
    gap: 0 !important;
}

.testimonial-img {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.testimonial-img:hover {
    z-index: 10;
    position: relative;
}

/* =============================================
   TESTIMONIALS MASONRY - Packed Layout
   ============================================= */

.testimonials-masonry {
    padding: 80px 0;
    background: #1e293b;
}

.testimonials-masonry .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.masonry-grid {
    columns: 3;
    column-gap: 15px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: transform 0.3s ease;
}

.masonry-item:hover {
    transform: scale(1.02);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 991px) {
    .masonry-grid {
        columns: 2;
    }
}

@media (max-width: 576px) {
    .masonry-grid {
        columns: 1;
    }
}

/* =============================================
   NEWSLETTER SECTION - Exact Layout
   ============================================= */

.newsletter-section {
    padding: 60px 0;
    background: #f1f5f9;
}

.newsletter-wrapper {
    display: flex;
    align-items: stretch;
    background: #f1f5f9;
    border-radius: 24px;
    overflow: visible;
    position: relative;
}

.newsletter-box {
    background: #ff7700;
    border-radius: 24px;
    padding: 50px 50px;
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-box h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.newsletter-box p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-newsletter-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #ff7700 !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-newsletter-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-newsletter-white i {
    transition: transform 0.3s ease;
}

.btn-newsletter-white:hover i {
    transform: translateX(5px);
}

.newsletter-photo {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    padding-top: 20px;
}

.newsletter-photo img {
    max-height: 380px;
    width: auto;
    object-fit: contain;
    margin-top: -40px;
}

/* Responsive */
@media (max-width: 991px) {
    .newsletter-wrapper {
        flex-direction: column;
    }

    .newsletter-box {
        flex: 1;
        max-width: 100%;
        text-align: center;
        padding: 40px 30px;
    }

    .btn-newsletter-white {
        margin: 0 auto;
    }

    .newsletter-photo {
        flex: 1;
        max-width: 100%;
        justify-content: center;
        padding: 20px 0;
    }

    .newsletter-photo img {
        max-height: 300px;
        margin-top: 0;
    }
}

/* =============================================
   NEWSLETTER SECTION - Original Classes
   ============================================= */

#novidades.newsletter-section {
    padding: 60px 0;
    background: #f1f5f9;
}

#novidades .newsletter-card {
    display: flex;
    align-items: stretch;
    border-radius: 24px;
    overflow: visible;
    background: transparent;
}

#novidades .newsletter-content {
    background: #ff7700;
    border-radius: 24px;
    padding: 50px;
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#novidades .newsletter-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

#novidades .newsletter-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 30px;
}

#novidades .newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #ff7700 !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#novidades .newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#novidades .newsletter-btn i {
    transition: transform 0.3s ease;
}

#novidades .newsletter-btn:hover i {
    transform: translateX(5px);
}

#novidades .newsletter-image {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

#novidades .newsletter-image img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
    margin-top: -30px;
}

/* Responsive */
@media (max-width: 991px) {
    #novidades .newsletter-card {
        flex-direction: column;
    }

    #novidades .newsletter-content {
        flex: 1;
        max-width: 100%;
        text-align: center;
        padding: 40px 30px;
    }

    #novidades .newsletter-btn {
        margin: 0 auto;
    }

    #novidades .newsletter-image {
        flex: 1;
        max-width: 100%;
        justify-content: center;
        padding: 20px 0;
    }

    #novidades .newsletter-image img {
        max-height: 300px;
        margin-top: 0;
    }
}

/* =============================================
   ABOUT SECTION - Original Classes (Bio Card)
   ============================================= */

#sobre.about-section {
    padding: 80px 0;
    background: #f8fafc;
}

#sobre .bio-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    align-items: start;
}

#sobre .bio-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%);
}

#sobre .bio-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

#sobre .bio-content {
    padding: 20px 0;
}

#sobre .bio-title {
    font-size: 2rem;
    font-weight: 800;
    font-style: italic;
    color: #14b8a6;
    margin-bottom: 20px;
}

#sobre .bio-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 15px;
}

#sobre .bio-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#sobre .bio-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
}

#sobre .bio-features .feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
    background: #14b8a6;
}

#sobre .bio-features li:nth-child(1) .feature-icon {
    background: #14b8a6;
}

#sobre .bio-features li:nth-child(2) .feature-icon {
    background: #8b5cf6;
}

#sobre .bio-features li:nth-child(3) .feature-icon {
    background: #3b82f6;
}

#sobre .bio-features li:nth-child(4) .feature-icon {
    background: #ff7700;
}

#sobre .bio-quote {
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%);
    color: white;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    margin-top: 25px;
}

/* Stats Row */
#sobre .bio-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

#sobre .bio-stat-item {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #14b8a6;
    transition: transform 0.3s ease;
}

#sobre .bio-stat-item:nth-child(1) {
    border-top-color: #14b8a6;
}

#sobre .bio-stat-item:nth-child(2) {
    border-top-color: #8b5cf6;
}

#sobre .bio-stat-item:nth-child(3) {
    border-top-color: #3b82f6;
}

#sobre .bio-stat-item:nth-child(4) {
    border-top-color: #ff7700;
}

#sobre .bio-stat-item:hover {
    transform: translateY(-5px);
}

#sobre .bio-stat-item .stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 8px;
}

#sobre .bio-stat-item .stat-lbl {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 991px) {
    #sobre .bio-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #sobre .bio-image {
        max-width: 350px;
        margin: 0 auto;
    }

    #sobre .bio-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    #sobre .bio-card {
        padding: 25px;
    }

    #sobre .bio-stats {
        grid-template-columns: 1fr;
    }

    #sobre .bio-title {
        font-size: 1.5rem;
    }
}

/* =============================================
   CONNECT SECTION - Original Classes
   ============================================= */

#conecte-se.connect-section {
    padding: 80px 0;
    background: white;
}

#conecte-se .section-header {
    text-align: center;
    margin-bottom: 50px;
}

#conecte-se .section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #1e293b;
}

#conecte-se .connect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#conecte-se .connect-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#conecte-se .connect-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

#conecte-se .connect-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

#conecte-se .connect-card:hover img {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 991px) {
    #conecte-se .connect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    #conecte-se .connect-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   PLATFORM TITLE - 2 Lines Fix
   ============================================= */

.platform-title {
    max-width: 800px !important;
}

/* =============================================
   ABOUT SECTION - Refined Layout (Image Match)
   ============================================= */

#sobre.about-section {
    padding: 80px 0 !important;
    background: #f8fafc !important;
}

#sobre .bio-card {
    display: grid !important;
    grid-template-columns: 380px 1fr !important;
    gap: 40px !important;
    background: white !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 40px !important;
    align-items: stretch !important;
}

#sobre .bio-image {
    border-radius: 16px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #ff7700 0%, #cc5f00 100%) !important;
}

#sobre .bio-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
}

#sobre .bio-content {
    padding: 10px 20px 10px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

#sobre .bio-title {
    font-size: 1.85rem !important;
    font-weight: 700 !important;
    font-style: italic !important;
    color: #14b8a6 !important;
    margin-bottom: 18px !important;
}

#sobre .bio-text {
    margin-bottom: 20px !important;
}

#sobre .bio-text p {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    margin-bottom: 12px !important;
}

#sobre .bio-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

#sobre .bio-features li {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 0.9rem !important;
    color: #334155 !important;
    font-weight: 500 !important;
}

#sobre .bio-features .feature-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 0.75rem !important;
}

#sobre .bio-quote {
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%) !important;
    color: white !important;
    padding: 16px 24px !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-top: auto !important;
}

/* Stats Row */
#sobre .bio-stats {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

#sobre .bio-stat-item {
    background: white !important;
    border-radius: 12px !important;
    padding: 20px 15px !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    border-top: 4px solid #14b8a6 !important;
}

#sobre .bio-stat-item .stat-num {
    display: block !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    line-height: 1 !important;
    margin-bottom: 6px !important;
}

#sobre .bio-stat-item .stat-lbl {
    font-size: 0.85rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

/* =============================================
   ABOUT SECTION - FINAL EXACT LAYOUT
   ============================================= */

.about-section-exact {
    padding: 80px 0;
    background: #f8fafc;
    /* Fundo cinza claro da seção */
}

/* O Card Principal */
.bio-split-card {
    display: flex;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Sombra suave */
    margin-bottom: 40px;
}

/* Coluna da Imagem (Esquerda) */
.bio-left-img {
    flex: 0 0 450px;
    /* Largura fixa para a imagem */
    background: #ff7700;
    /* Fundo Rosa */
    /* Gradiente sutil se quiser */
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%);
    position: relative;
    display: flex;
    align-items: flex-end;
    /* Alinha imagem na base */
    justify-content: center;
}

.bio-left-img img {
    width: 90%;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 0;
}

/* Coluna do Conteúdo (Direita) */
.bio-right-content {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tipografia */
.bio-title-exact {
    font-size: 2rem;
    font-weight: 800;
    color: #14b8a6;
    /* Teal */
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.bio-text-exact p {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 15px;
}

/* Lista de Features */
.bio-features-exact {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bio-features-exact li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #334155;
    font-weight: 500;
    font-size: 0.95rem;
}

.icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.icon-circle.teal {
    background: #14b8a6;
}

/* Citação / Banner */
.bio-quote-exact {
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%);
    /* Ou solido rosa: background: #ff7700; */
    background: #ff7700;
    /* Deixando solido rosa conforme imagem provavel */
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%);
    /* Gradiente Teal -> Roxo/Rosa */
    color: white;
    padding: 18px 30px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 119, 0, 0.2);
}

/* Linha de Estatísticas */
.bio-stats-row-exact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-exact {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-exact:hover {
    transform: translateY(-5px);
}

.stat-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff7700 0%, #cc5f00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-desc {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 991px) {
    .bio-split-card {
        flex-direction: column;
    }

    .bio-left-img {
        flex: 0 0 300px;
        /* Altura fixa em mobile */
        width: 100%;
    }

    .bio-left-img img {
        height: 100%;
        width: auto;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .bio-right-content {
        padding: 40px 30px;
    }

    .bio-stats-row-exact {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .bio-left-img {
        flex: 0 0 250px;
    }

    .bio-title-exact {
        font-size: 1.75rem;
    }

    .bio-stats-row-exact {
        grid-template-columns: 1fr;
    }
}