/* ===== ROSE SANTOS ACADEMY - INSTITUTIONAL PAGES ===== */

/* === Base Container === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === Courses Promo Grid === */
.courses-promo-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.promo-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.promo-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.promo-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* === Sobre/About Content Grid === */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.about-text p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .courses-promo-grid {
        grid-template-columns: 1fr;
    }
}

/* === Page Header Hero === */
.page-hero {
    background: linear-gradient(135deg, #227999 0%, #1a607a 100%);
    color: #ffffff;
    padding: 100px 1.5rem 64px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffffff;
}

.page-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    color: #ffffff;
}

/* === Section Styles === */
.section {
    padding: 4rem 1.5rem;
}

.section-alt {
    background: var(--bg-gray);
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

/* === Feature Grid === */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === Stats Section === */
.stats-section {
    background: var(--primary);
    color: white;
    padding: var(--space-2xl) var(--space-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    margin-bottom: var(--space-xs);
}

.stat-item p {
    opacity: 0.9;
}

/* === Team Grid === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin: 0 auto var(--space-md);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
}

.team-card h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.team-card p {
    color: var(--text-muted);
}

/* === Pricing Cards === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 2px solid var(--border);
    text-align: center;
    transition: all var(--transition-normal);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
}

.pricing-price {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.pricing-price span {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    justify-content: center;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    color: var(--success);
}

/* === Blog Cards === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    background: var(--bg-gray);
    overflow: hidden;
}

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

.blog-content {
    padding: var(--space-lg);
}

.blog-category {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.blog-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* === Job Listings === */
.job-list {
    max-width: 800px;
    margin: 0 auto;
}

.job-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
}

.job-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.job-info h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.job-meta {
    display: flex;
    gap: var(--space-lg);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* === CTA Section === */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
}

.cta-section h2 {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    margin-bottom: var(--space-md);
}

.cta-section p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* === Timeline === */
.timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    padding-left: 60px;
    position: relative;
    margin-bottom: var(--space-xl);
}

.timeline-dot {
    position: absolute;
    left: 15px;
    top: 4px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: var(--radius-full);
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.timeline-item h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.timeline-date {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-sm);
}

.timeline-item p {
    color: var(--text-secondary);
}

/* === Contact Form === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.contact-item p {
    color: var(--text-muted);
}

.contact-form {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* === Responsive === */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: var(--font-size-2xl);
    }

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

    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .pricing-card.featured {
        transform: none;
    }
}