/**
 * Estilos da página Sobre
 * Design moderno e elegante para a página Sobre
 */

/* Reset para evitar scroll horizontal */
html,
body {
    width: 100%;
    overflow-x: hidden;
}

/* Reset e variáveis específicas da página */
:root {
    color-scheme: light dark;
}

/* Temas específicos */
[data-theme="light"] {
    --sobre-bg: var(--light);
    --sobre-text: var(--text-color);
    --sobre-text-secondary: var(--text-secondary);
    --sobre-card-bg: var(--card-background);
    --sobre-border: var(--border-color);
    --sobre-shadow: var(--shadow-md);
}

[data-theme="dark"] {
    --sobre-bg: var(--dark);
    --sobre-text: var(--light);
    --sobre-text-secondary: var(--gray-400);
    --sobre-card-bg: var(--gray-800);
    --sobre-border: var(--gray-700);
    --sobre-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Estilos específicos para o tema dark - Values Section */
[data-theme="dark"] .values-tabs {
    background-color: var(--gray-800);
    border-color: var(--gray-700);
}

[data-theme="dark"] .values-tab-content {
    background-color: var(--gray-800);
}

[data-theme="dark"] .values-content-title {
    color: var(--light);
}

[data-theme="dark"] .values-content-description {
    color: var(--gray-300);
}

[data-theme="dark"] .values-feature {
    background-color: var(--gray-700);
    border-left-color: var(--primary-light);
}

[data-theme="dark"] .values-feature:hover {
    background-color: var(--gray-600);
    border-left-color: var(--primary);
}

[data-theme="dark"] .values-feature-icon {
    background-color: var(--gray-800);
    border-color: var(--gray-600);
    color: var(--primary);
}

[data-theme="dark"] .values-feature-text h4 {
    color: var(--light);
}

[data-theme="dark"] .values-feature-text p {
    color: var(--gray-300);
}

[data-theme="dark"] .value-pill {
    background-color: var(--gray-700);
    border-color: var(--gray-600);
}

[data-theme="dark"] .value-pill:hover {
    background-color: var(--gray-600);
    border-color: var(--primary-light);
}

[data-theme="dark"] .value-pill-text {
    color: var(--light);
}

/* Aplicação das variáveis de tema */
.page-sobre {
    background-color: var(--sobre-bg);
    color: var(--sobre-text);
}

.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
}

.values-section {
    background-color: var(--sobre-bg);
}

.values-tabs {
    background-color: var(--sobre-card-bg);
    border-color: var(--sobre-border);
}

.values-feature {
    background-color: var(--sobre-card-bg);
    border-color: var(--sobre-border);
}

.values-feature:hover {
    background-color: var(--primary-lightest);
    border-color: var(--primary);
}

.values-feature-text h4 {
    color: var(--primary);
}

.values-feature-text p {
    color: var(--sobre-text-secondary);
}

.approach-card {
    background-color: var(--sobre-card-bg);
    border-color: var(--sobre-border);
    box-shadow: var(--sobre-shadow);
}

.team-card {
    background-color: var(--sobre-card-bg);
    border-color: var(--sobre-border);
    box-shadow: var(--sobre-shadow);
}

.team-info h3 {
    color: var(--primary);
}

.team-role {
    color: var(--secondary);
}

.team-bio {
    color: var(--sobre-text-secondary);
}

.team-social-link {
    background-color: var(--sobre-card-bg);
    color: var(--primary);
    border: 1px solid var(--sobre-border);
}

.team-social-link:hover {
    background-color: var(--primary);
    color: var(--light);
}

/* Header da página */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 6rem 0 4rem;
    color: var(--light);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 50vh;
    display: flex;
    align-items: center;
    width: 100%;
}

.page-header .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Elementos de background */
.page-header .hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-header .hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/hero-pattern.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.page-header .hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
    pointer-events: none;
}

.page-header .hero-wave .wave {
    width: 100%;
    height: auto;
    display: block;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.page-header h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--light);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* Seção de História */
.history-section {
    padding: 5rem 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

/* Timeline Horizontal */
.timeline-horizontal {
    max-width: 1000px;
    margin: 3rem auto 0;
    position: relative;
    padding: 2rem 0;
}

.timeline-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.timeline-nav-item {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-nav-item.active {
    color: var(--primary);
}

.timeline-progress {
    height: 4px;
    background-color: var(--gray-200);
    border-radius: var(--border-radius-full);
    position: relative;
    margin-bottom: 2rem;
}

.timeline-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
    transition: width 0.5s ease;
}

.timeline-content-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    min-height: 300px;
}

.timeline-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.5s ease;
}

.timeline-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.timeline-slide-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    background-color: var(--card-background);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.timeline-slide-info {
    flex: 1;
    min-width: 250px;
}

.timeline-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary);
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-slide-image {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-image-placeholder {
    width: 160px;
    height: 160px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--light);
    font-size: 3rem;
}

.timeline-year-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary);
    color: var(--light);
    font-weight: var(--font-weight-bold);
    padding: 0.25rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.9rem;
}

.timeline-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.timeline-control-prev,
.timeline-control-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary);
}

.timeline-control-prev:hover,
.timeline-control-next:hover,
.timeline-control-prev:focus,
.timeline-control-next:focus {
    background-color: var(--primary);
    color: var(--light);
    box-shadow: var(--shadow-md);
}


/* Seção de Valores */
.values-section {
    padding: 5rem 0;
    background-color: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.values-tabs {
    max-width: 1000px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 1;
    background-color: var(--light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.values-tabs-nav {
    display: flex;
    background: linear-gradient(to right, var(--primary-light), var(--primary));
    padding: 0.5rem;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.values-tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.values-tab-btn:hover,
.values-tab-btn.active {
    color: var(--light);
    background-color: rgba(255, 255, 255, 0.1);
}

.values-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--light);
    transition: width 0.3s ease;
    border-radius: var(--border-radius-full);
}

.values-tab-btn:hover {
    color: var(--light);
    background-color: rgba(255, 255, 255, 0.1);
}

.values-tab-btn.active {
    color: var(--light);
    background-color: rgba(255, 255, 255, 0.15);
}

.values-tab-btn.active::after {
    width: 50%;
}

.values-tab-icon {
    font-size: 1.25rem;
}

.values-tab-text {
    font-weight: var(--font-weight-semibold);
}

.values-tab-content {
    padding: 2rem;
    background-color: var(--light);
}

.values-tab-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.values-tab-pane.active {
    display: block;
}

.values-content-grid {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.values-content-text {
    flex: 1;
}

.values-content-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary);
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 1rem;
}

.values-content-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: var(--border-radius-full);
}

.values-content-description {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.values-content-features {
    display: grid;
    gap: 1.5rem;
}

.values-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    background-color: var(--gray-50);
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-light);
}

.values-feature:hover {
    background-color: var(--primary-lightest);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
    border-left-color: var(--primary);
}

.values-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--light);
    border-radius: var(--border-radius-full);
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.values-feature-text {
    flex: 1;
}

.values-feature-text h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.values-feature-text p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin: 0;
}

.values-content-visual {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.values-illustration {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-lightest), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.values-illustration::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px dashed var(--primary);
    animation: rotate 30s linear infinite;
}

[data-theme="dark"] .values-illustration::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px dashed var(--light);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pílulas de valores */
.values-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.value-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--light);
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    cursor: pointer;
}

.value-pill:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--primary-lightest);
    border-color: var(--primary-light);
}

.value-pill-text {
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
}

/* Seção de Abordagem */
.approach-section {
    padding: 5rem 0;
    background-color: var(--light);
    position: relative;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.approach-card {
    background-color: var(--sobre-card-bg);
    border-color: var(--sobre-border);
    box-shadow: var(--sobre-shadow);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: all var(--transition-normal);
    text-align: center;
    height: 100%;
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.approach-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-normal);
}

.approach-card:hover .approach-icon {
    transform: scale(1.1) rotate(5deg);
}

.approach-icon i {
    font-size: 2rem;
    color: var(--light);
}

.approach-card h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--primary);
    margin-bottom: 1rem;
}

.approach-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}



/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-secondary);
    color: var(--light);
    position: relative;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.cta-content::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.cta-content h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    color: var(--light);
    position: relative;
    z-index: 1;
}

.cta-content p {
    font-size: var(--font-size-lg);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn {
    min-width: 180px;
}

/* Seção de Equipe */
.team-section {
    padding: 5rem 0;
    background-color: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background-color: var(--sobre-card-bg);
    border-color: var(--sobre-border);
    box-shadow: var(--sobre-shadow);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}

.team-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--secondary);
    font-weight: var(--font-weight-medium);
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--sobre-text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gray-100);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-social-link:hover {
    background-color: var(--primary);
    color: var(--light);
}

/* Responsividade */
@media (max-width: 1200px) {
    .page-header h1 {
        font-size: var(--font-size-3xl);
    }

    .page-sobre {
        overflow-x: hidden;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .approach-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .team-image {
        height: 240px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0;
    }

    .page-header-content {
        padding: 0 1rem;
    }

    .page-header h1 {
        font-size: var(--font-size-2xl);
    }

    .page-header p {
        font-size: var(--font-size-base);
    }

    .history-section,
    .values-section,
    .approach-section,
    .stats-section,
    .cta-section,
    .team-section {
        padding: 3rem 0;
    }

    .about-content .lead {
        font-size: var(--font-size-md);
    }

    .value-card,
    .approach-card {
        padding: 1.75rem;
    }

    .value-icon,
    .approach-icon {
        width: 60px;
        height: 60px;
    }

    .value-icon i,
    .approach-icon i {
        font-size: 1.5rem;
    }

    .value-card h3,
    .approach-card h3 {
        font-size: var(--font-size-md);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content {
        padding: 0 1rem;
    }

    .cta-content h2 {
        font-size: var(--font-size-xl);
    }

    .cta-content p {
        font-size: var(--font-size-base);
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .team-image {
        height: 220px;
    }

    .team-info {
        padding: 1.25rem;
    }

    .team-info h3 {
        font-size: var(--font-size-base);
    }

    .team-role {
        font-size: var(--font-size-xs);
    }

    .team-bio {
        font-size: var(--font-size-xs);
    }

    .team-cta {
        margin-top: 2.5rem;
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: var(--font-size-xl);
    }

    .page-header p {
        font-size: var(--font-size-sm);
    }

    .history-section,
    .values-section,
    .approach-section,
    .stats-section,
    .cta-section,
    .team-section {
        padding: 2.5rem 0;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-image {
        height: 300px;
    }

    .team-social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .team-cta {
        padding: 1.5rem;
    }

    /* Responsividade para dispositivos pequenos - seção Valores/Princípios */
    .values-tabs {
        margin: 1.5rem auto 0;
        border-radius: var(--border-radius-md);
    }

    .values-tabs-nav {
        padding: 0.75rem;
        gap: 0.25rem;
    }

    .values-tab-btn {
        padding: 0.75rem;
        font-size: var(--font-size-sm);
        gap: 0.5rem;
    }

    .values-tab-icon {
        font-size: 1rem;
    }

    .values-tab-content {
        padding: 1rem;
    }

    .values-content-grid {
        gap: 1.5rem;
    }

    .values-illustration {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }

    .values-content-title {
        font-size: var(--font-size-lg);
        margin-bottom: 1rem;
    }

    .values-content-description {
        font-size: var(--font-size-sm);
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .values-content-features {
        gap: 1rem;
    }

    .values-feature {
        padding: 0.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .values-feature-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        align-self: center;
    }

}

.value-pill {
    padding: 0.4rem 0.8rem;
    font-size: var(--font-size-xs);
    gap: 0.4rem;
}

.value-pill-icon {
    font-size: 0.9rem;
    color: var(--text-color) !important;
}


@media (max-width: 480px) {
    .page-header {
        padding: 3rem 0;
        min-height: 40vh;
    }

    .page-header h1 {
        font-size: var(--font-size-xl);
    }

    .page-header p {
        font-size: var(--font-size-sm);
    }

    .container {
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: calc(var(--font-size-2xl) * 0.85);
    }

    .section-header p {
        font-size: var(--font-size-sm);
    }

    .value-card,
    .approach-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .value-icon,
    .approach-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .value-card h3,
    .approach-card h3 {
        font-size: var(--font-size-lg);
    }

    .value-card p,
    .approach-card p {
        font-size: var(--font-size-sm);
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: var(--font-size-sm);
    }

    .team-card {
        padding: 1.5rem;
    }

    .team-name {
        font-size: var(--font-size-lg);
    }

    .team-role {
        font-size: var(--font-size-sm);
    }

    .team-description {
        font-size: var(--font-size-xs);
        line-height: 1.4;
    }

    .timeline {
        padding: 1rem 0;
    }

    .timeline-nav {
        gap: 0.5rem;
        padding: 0 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .timeline-nav-item {
        padding: 0.5rem 1rem;
        font-size: var(--font-size-sm);
        white-space: nowrap;
        flex-shrink: 0;
    }

    .timeline-content {
        padding: 1.5rem 1rem;
    }

    .timeline-year {
        font-size: var(--font-size-lg);
    }

    .timeline-title {
        font-size: var(--font-size-base);
    }

    .timeline-description {
        font-size: var(--font-size-sm);
    }

    .cta-section {
        padding: 2rem 0;
    }

    .cta-content h2 {
        font-size: calc(var(--font-size-2xl) * 0.8);
    }

    .cta-content p {
        font-size: var(--font-size-sm);
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-sm);
    }
}

/* Melhorias adicionais de responsividade para elementos específicos */

/* Grid da equipe - melhor adaptação em diferentes tamanhos */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Valores e abordagem - melhor disposição */
@media (max-width: 768px) {

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {

    .approach-grid {
        gap: 1rem;
    }
}

/* Timeline - melhoria na responsividade */
@media (max-width: 768px) {
    .timeline-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        gap: 1rem;
    }

    .timeline-nav-item {
        flex-shrink: 0;
        white-space: nowrap;
        min-width: max-content;
    }
}

/* Melhorias gerais de responsividade */
@media (max-width: 480px) {

    /* Garantir que imagens não quebrem o layout */
    .team-image,
    .team-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    /* Evitar overflow horizontal */
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Melhorar espaçamento em telas muito pequenas */
    .section-header {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    /* Cards da equipe - ajustes finos */
    .team-card {
        min-height: auto;
        height: auto;
    }

    .team-content {
        padding: 1rem;
    }

    /* Botões - melhor adaptação */
    .btn-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Responsividade para seção de Valores/Princípios */
@media (max-width: 768px) {
    .values-tabs {
        margin: 2rem auto 0;
    }

    .values-tabs-nav {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .values-tab-btn {
        justify-content: flex-start;
        padding: 1rem;
        text-align: left;
        border-radius: var(--border-radius-md);
    }

    .values-tab-content {
        padding: 1.5rem;
    }

    .values-content-grid {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .values-content-visual {
        flex: none;
        order: -1;
    }

    .values-illustration {
        width: 140px;
        height: 140px;
        font-size: 3rem;
    }

    .values-content-title {
        font-size: var(--font-size-xl);
        text-align: center;
        padding-left: 0;
    }

    .values-content-title::before {
        display: none;
    }

    .values-content-description {
        font-size: var(--font-size-base);
        text-align: center;
    }

    .values-content-features {
        max-width: 500px;
        margin: 0 auto;
    }

    .values-feature {
        padding: 0.75rem;
    }

    .values-pillars {
        justify-content: center;
        max-width: 400px;
        margin: 1rem auto 0;
    }

    .value-pill {
        padding: 0.5rem 1rem;
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 576px) {

    /* Responsividade para dispositivos pequenos - seção Valores/Princípios */
    .values-tabs {
        margin: 1.5rem auto 0;
        border-radius: var(--border-radius-md);
    }

    .values-tabs-nav {
        padding: 0.75rem;
        gap: 0.25rem;
    }

    .values-tab-btn {
        padding: 0.75rem;
        font-size: var(--font-size-sm);
        gap: 0.5rem;
    }

    .values-tab-icon {
        font-size: 1rem;
    }

    .values-tab-content {
        padding: 1rem;
    }

    .values-content-grid {
        gap: 1.5rem;
    }

    .values-illustration {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }

    .values-content-title {
        font-size: var(--font-size-lg);
        margin-bottom: 1rem;
    }

    .values-content-description {
        font-size: var(--font-size-sm);
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .values-content-features {
        gap: 1rem;
    }

    .values-feature {
        padding: 0.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .values-feature-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        align-self: center;
    }

    .values-feature-text h4 {
        font-size: var(--font-size-sm);
        margin-bottom: 0.15rem;
    }

    .values-feature-text p {
        font-size: var(--font-size-xs);
    }

    .values-pillars {
        gap: 0.5rem;
        max-width: 100%;
    }

    .value-pill {
        padding: 0.4rem 0.8rem;
        font-size: var(--font-size-xs);
        gap: 0.4rem;
    }

    .value-pill-icon {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 3rem 0;
        min-height: 40vh;
    }

    .page-header h1 {
        font-size: var(--font-size-xl);
    }

    .page-header p {
        font-size: var(--font-size-sm);
    }

    .container {
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: calc(var(--font-size-2xl) * 0.85);
    }

    .section-header p {
        font-size: var(--font-size-sm);
    }

    .value-card,
    .approach-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .value-icon,
    .approach-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .value-card h3,
    .approach-card h3 {
        font-size: var(--font-size-lg);
    }

    .value-card p,
    .approach-card p {
        font-size: var(--font-size-sm);
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: var(--font-size-sm);
    }

    .team-card {
        padding: 1.5rem;
    }

    .team-name {
        font-size: var(--font-size-lg);
    }

    .team-role {
        font-size: var(--font-size-sm);
    }

    .team-description {
        font-size: var(--font-size-xs);
        line-height: 1.4;
    }

    .timeline {
        padding: 1rem 0;
    }

    .timeline-nav {
        gap: 0.5rem;
        padding: 0 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .timeline-nav-item {
        padding: 0.5rem 1rem;
        font-size: var(--font-size-sm);
        white-space: nowrap;
        flex-shrink: 0;
    }

    .timeline-content {
        padding: 1.5rem 1rem;
    }

    .timeline-year {
        font-size: var(--font-size-lg);
    }

    .timeline-title {
        font-size: var(--font-size-base);
    }

    .timeline-description {
        font-size: var(--font-size-sm);
    }

    .cta-section {
        padding: 2rem 0;
    }

    .cta-content h2 {
        font-size: calc(var(--font-size-2xl) * 0.8);
    }

    .cta-content p {
        font-size: var(--font-size-sm);
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-sm);
    }
}

/* Ajustes para o modo escuro */
@media (prefers-color-scheme: dark) {
    .values-feature:hover {
        background-color: var(--primary-darkest);
    }

    .timeline-slide-content {
        background-color: var(--sobre-card-bg);
        border-color: var(--sobre-border);
    }

    .timeline-nav-item {
        color: var(--sobre-text-secondary);
    }

    .timeline-nav-item.active {
        color: var(--primary);
    }
}