/* ==========================================================================
   INSTITUTO EDUKAR - MASTER DESIGN SYSTEM
   Modern, Premium, High-Converting Aesthetic for Theology & Psychoanalysis
   Palette: Deep Navy & Vibrant Sky / Light Blue Accent
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- THEME VARIABLES --- */
:root {
    /* Color Palette - Deep Navy Base */
    --primary-950: #070E1E;
    --primary-900: #0B172E;
    --primary-800: #102142;
    --primary-700: #162D59;
    --primary-600: #1C3970;
    --primary-500: #25468B;

    /* Light Blue / Sky Blue Accent Palette (Substituindo o dourado por Azul Claro) */
    --accent-700: #0369A1;
    --accent-600: #0284C7;
    --accent-500: #0EA5E9; /* Azul Claro Principal */
    --accent-400: #38BDF8; /* Azul Claro Brilhante */
    --accent-300: #7DD3FC;
    --accent-200: #BAE6FD;
    --accent-100: #E0F2FE;

    /* Aliases for backwards compatibility */
    --gold-600: var(--accent-600);
    --gold-500: var(--accent-500);
    --gold-400: var(--accent-400);
    --gold-300: var(--accent-300);

    --emerald-500: #10B981;
    --emerald-600: #059669;
    --whatsapp: #25D366;

    /* Theme Tokens (Default: Light Mode) */
    --bg-page: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-surface-elevated: #FFFFFF;
    --bg-surface-alt: #F0F7FF;
    --bg-surface-dark: #0B172E;

    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --text-inverse: #FFFFFF;

    --border-subtle: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.16);
    --border-accent: rgba(14, 165, 233, 0.35);

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
    --shadow-accent: 0 10px 25px -5px rgba(14, 165, 233, 0.3);
    --shadow-gold: var(--shadow-accent);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    --bg-page: #060B16;
    --bg-surface: #0B1426;
    --bg-surface-elevated: #111E38;
    --bg-surface-alt: #0E1A33;

    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-light: #64748B;
    --text-inverse: #0F172A;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --border-accent: rgba(56, 189, 248, 0.35);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
    --shadow-accent: 0 10px 25px -5px rgba(56, 189, 248, 0.25);
    --shadow-gold: var(--shadow-accent);
}

/* --- RESET & GLOBAL BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-page);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
}

/* --- LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding: 5.5rem 0;
    position: relative;
}

.section-sm {
    padding: 3.5rem 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem auto;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-600);
    background: rgba(14, 165, 233, 0.12);
    padding: 0.35rem 1.1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-accent);
    margin-bottom: 1rem;
}

[data-theme="dark"] .section-subtitle {
    color: var(--accent-400);
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #102142 0%, #0B172E 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(11, 23, 46, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #162D59 0%, #102142 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 23, 46, 0.4);
    color: #FFFFFF;
}

/* Botão Azul Claro Vibrante */
.btn-sky, .btn-gold {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: var(--shadow-accent);
}

.btn-sky:hover, .btn-gold:hover {
    background: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -4px rgba(14, 165, 233, 0.5);
    color: #FFFFFF;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid var(--border-strong);
}

.btn-outline:hover {
    border-color: var(--accent-500);
    color: var(--accent-500);
    background: rgba(14, 165, 233, 0.06);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #2EE06E 0%, #25D366 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
    color: #FFFFFF;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

/* --- BADGES --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
}

.badge-sky, .badge-gold {
    background: rgba(14, 165, 233, 0.14);
    color: #0284C7;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

[data-theme="dark"] .badge-sky, [data-theme="dark"] .badge-gold {
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.16);
    border-color: rgba(56, 189, 248, 0.3);
}

.badge-blue {
    background: rgba(37, 70, 139, 0.15);
    color: #1D376E;
    border: 1px solid rgba(37, 70, 139, 0.3);
}

[data-theme="dark"] .badge-blue {
    color: #818CF8;
}

.badge-emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .badge-emerald {
    color: #34D399;
}

/* --- TOPBAR --- */
.topbar {
    background-color: var(--primary-900);
    color: #94A3B8;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.45rem 0;
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar-item i {
    color: var(--accent-400);
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.topbar-social a {
    color: #94A3B8;
    font-size: 0.95rem;
}

.topbar-social a:hover {
    color: var(--accent-400);
}

/* --- HEADER & NAVBAR --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

[data-theme="dark"] .site-header {
    background: rgba(11, 20, 38, 0.94);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-logo img {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
    line-height: 1.1;
}

.brand-name span {
    color: var(--accent-500);
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.6rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--accent-500);
    border-radius: var(--radius-full);
    transition: width 0.25s ease;
}

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

/* --- SUBMENU DROPDOWN FOR COURSES --- */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-icon {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1010;
}

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

.dropdown-header-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--accent-600);
    background: var(--bg-surface-alt);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .dropdown-header-link {
    color: var(--accent-400);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 0.4rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--bg-surface-alt);
    color: var(--accent-500);
    transform: translateX(4px);
}

.dropdown-item-title {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-mini {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: rgba(14, 165, 233, 0.15);
    color: var(--accent-600);
}

[data-theme="dark"] .badge-mini {
    color: var(--accent-300);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.theme-toggle-btn {
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background: var(--border-accent);
    color: var(--accent-500);
    transform: rotate(20deg);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-main);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 5.5rem 0 6rem 0;
    background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(22, 45, 89, 0.06) 0%, transparent 45%),
                var(--bg-page);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid var(--border-accent);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-600);
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .hero-badge {
    color: var(--accent-400);
}

.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--accent-500) 0%, #38BDF8 60%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-highlights {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(14, 165, 233, 0.12);
    color: var(--accent-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.highlight-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.highlight-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Hero Visual Card */
.hero-visual {
    position: relative;
}

.hero-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.hero-card-img-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 380px;
}

.hero-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

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

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(11, 23, 46, 0.95) 0%, rgba(11, 23, 46, 0) 100%);
    color: #FFFFFF;
}

.hero-card-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
}

.hero-card-role {
    font-size: 0.85rem;
    color: var(--accent-300);
    font-weight: 500;
}

.hero-floating-badge {
    position: absolute;
    top: 2rem;
    right: -1rem;
    background: var(--bg-surface-elevated);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
    animation: floatAnim 4s ease-in-out infinite;
}

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

.hero-floating-icon {
    font-size: 1.8rem;
    color: var(--accent-500);
}

/* --- STATS BAR --- */
.stats-bar {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--border-subtle);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--accent-500);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* --- COURSE CARDS --- */
.course-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-500);
    color: #FFFFFF;
    border-color: var(--accent-500);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-accent);
}

.course-card-thumb {
    position: relative;
    height: 210px;
    background: var(--bg-surface-alt);
    overflow: hidden;
}

.course-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .course-card-thumb img {
    transform: scale(1.06);
}

.course-badge-floating {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.course-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.course-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.course-meta-item i {
    color: var(--accent-500);
}

.course-card-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.course-card-title a:hover {
    color: var(--accent-500);
}

.course-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card-footer {
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.original-price {
    font-size: 0.8rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.current-price {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
}

.installments-text {
    font-size: 0.75rem;
    color: var(--emerald-600);
    font-weight: 600;
}

/* --- ABOUT FOUNDER / INSTITUTION SECTION --- */
.about-section {
    background: var(--bg-surface-alt);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    border: 3px solid var(--border-accent);
}

.about-image-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center top;
}

.about-experience-card {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--primary-900);
    color: #FFFFFF;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-accent);
    max-width: 230px;
}

.experience-years {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-400);
    line-height: 1;
}

.experience-text {
    font-size: 0.85rem;
    color: #CBD5E1;
    line-height: 1.3;
    margin-top: 0.25rem;
}

.credentials-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--bg-surface);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.credential-icon {
    color: var(--accent-500);
    font-size: 1.3rem;
    margin-top: 0.1rem;
}

.credential-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-main);
}

.credential-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- CREDENTIALS & CAPELANIA HIGHLIGHT --- */
.credentials-banner {
    background: linear-gradient(135deg, var(--primary-900) 0%, #162D59 100%);
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.credentials-banner::before {
    content: '';
    position: absolute;
    right: -10%;
    top: -30%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
}

.banner-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: clamp(2rem, 3.2vw, 2.5rem);
    color: #FFFFFF;
    margin-bottom: 1.25rem;
}

.banner-desc {
    font-size: 1.05rem;
    color: #CBD5E1;
    margin-bottom: 2rem;
}

.banner-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 2.25rem;
}

.banner-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    color: #E2E8F0;
}

.banner-feature-item i {
    color: var(--accent-400);
}

.banner-cards-preview {
    position: relative;
    display: flex;
    justify-content: center;
}

.card-sample-img {
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.15);
    max-width: 90%;
    transform: rotate(2deg);
    transition: transform 0.4s ease;
}

.card-sample-img:hover {
    transform: rotate(0deg) scale(1.03);
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

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

.testimonial-rating {
    color: var(--accent-500);
    margin-bottom: 1rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-500);
}

.author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- BLOG & ARTICLES SECTION --- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
}

.article-thumb {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.article-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.article-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.article-title a:hover {
    color: var(--accent-500);
}

.article-excerpt {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.article-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-500);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.article-link:hover {
    gap: 0.6rem;
}

/* --- CALL TO ACTION (CTA) SECTION --- */
.cta-section {
    background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
                linear-gradient(135deg, var(--primary-900) 0%, #102142 100%);
    color: #FFFFFF;
    padding: 5.5rem 0;
    text-align: center;
}

.cta-box {
    max-width: 760px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    color: #FFFFFF;
    margin-bottom: 1.25rem;
}

.cta-desc {
    font-size: 1.15rem;
    color: #CBD5E1;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--primary-900);
    color: #94A3B8;
    padding-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2.5px;
    background: var(--accent-500);
    border-radius: var(--radius-full);
}

.footer-about p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #94A3B8;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: var(--accent-400);
    transform: translateX(4px);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.92rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #94A3B8;
}

.footer-contact-item i {
    color: var(--accent-400);
    margin-top: 0.2rem;
}

.footer-bottom {
    background-color: var(--primary-950);
    padding: 1.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--whatsapp);
    color: #FFFFFF;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-floating i {
    font-size: 1.5rem;
}

.whatsapp-floating:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
    color: #FFFFFF;
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    border: 2px solid var(--whatsapp);
    animation: pulseBorder 2s infinite;
    pointer-events: none;
}

@keyframes pulseBorder {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* --- FORMS & INPUTS --- */
.form-group {
    margin-bottom: 1.35rem;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.15rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    color: var(--text-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-500);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* --- ACCORDIONS FOR CURRICULUM --- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.accordion-header:hover {
    color: var(--accent-500);
}

.accordion-icon {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
    color: var(--accent-500);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
    background: var(--bg-surface-alt);
}

.accordion-item.active .accordion-content {
    max-height: 600px;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.module-topics-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.module-topics-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.module-topics-list li i {
    color: var(--emerald-500);
    font-size: 0.85rem;
}

/* --- ALERTS & NOTIFICATIONS --- */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #065F46;
}

[data-theme="dark"] .alert-success {
    color: #6EE7B7;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #991B1B;
}

[data-theme="dark"] .alert-danger {
    color: #FCA5A5;
}

/* --- CARTEIRINHA ESTUDANTIL & CERTIFICADO DIGITAL STYLES --- */
.student-card-container {
    perspective: 1000px;
    max-width: 480px;
    margin: 0 auto;
}

.student-id-card {
    background: linear-gradient(135deg, #070E1E 0%, #102142 60%, #0369A1 100%);
    color: #FFFFFF;
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(7, 14, 30, 0.4);
    border: 1.5px solid rgba(56, 189, 248, 0.4);
}

.student-id-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
}

.card-header-edu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.85rem;
    margin-bottom: 1.25rem;
}

.card-body-edu {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.card-photo-box {
    width: 100px;
    height: 125px;
    border-radius: 10px;
    border: 2px solid var(--accent-400);
    overflow: hidden;
    background: #0B172E;
    flex-shrink: 0;
}

.card-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info-box {
    flex-grow: 1;
    font-size: 0.82rem;
}

.card-info-box .student-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.card-info-box .student-course {
    color: var(--accent-300);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.card-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    color: #CBD5E1;
}

.card-footer-edu {
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #94A3B8;
}

/* Certificado Acadêmico */
.certificate-frame {
    background: #FFFFFF;
    color: #0F172A;
    border: 12px double #0284C7;
    border-radius: 8px;
    padding: 3.5rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    text-align: center;
}

.cert-header {
    margin-bottom: 2rem;
}

.cert-title {
    font-family: 'Cinzel', serif, var(--font-heading);
    font-size: 2.6rem;
    color: #0369A1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.cert-body {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 3rem;
}

.cert-student-name {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0B172E;
    text-decoration: underline;
    text-underline-offset: 6px;
    margin: 1rem 0;
    display: inline-block;
}

.cert-footer {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
}

.cert-sign-line {
    border-top: 1.5px solid #64748B;
    width: 240px;
    padding-top: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
}

/* --- LMS CLASSROOM INTERFACE --- */
.lms-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

.lms-sidebar {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 1.5rem;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.lms-lesson-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-subtle);
}

.lms-lesson-item:hover, .lms-lesson-item.active {
    background: var(--bg-surface-alt);
    color: var(--accent-500);
}

.lms-lesson-item.completed i {
    color: var(--emerald-500);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-highlights {
        justify-content: center;
    }

    .about-grid, .banner-grid, .lms-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .navbar {
        height: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid var(--border-subtle);
        background: var(--bg-surface-alt);
        margin-top: 0.5rem;
    }

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

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .credentials-banner {
        padding: 2.5rem 1.5rem;
    }

    .banner-features {
        grid-template-columns: 1fr;
    }

    .credentials-list {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-floating span {
        display: none;
    }

    .whatsapp-floating {
        padding: 0.85rem;
        border-radius: 50%;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}
