/* V2 Styles - Modern, Clean with Dark Mode Support */

:root {
    --primary-color: #FF5722;
    --primary-dark: #E64A19;
    --primary-light: #FF8A65;
    --accent-yellow: #FFC978;
    --charcoal: #C5CED6;
    --text-primary: #FFFFFF;
    --text-secondary: #D4D8DD;
    --text-muted: #9EA5AC;
    --bg-primary: #000000;
    --bg-secondary: #000000;
    --bg-tertiary: #151515;
    --border-color: #1F1F1F;
    
    /* Spacing */
    --section-padding: 5rem;
    --content-spacing: 3rem;
}

[data-theme="dark"] {
    --text-primary: #FFFFFF;
    --text-secondary: #D4D8DD;
    --text-muted: #9EA5AC;
    --bg-primary: #000000;
    --bg-secondary: #000000;
    --bg-tertiary: #151515;
    --border-color: #1F1F1F;
    --charcoal: #C5CED6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Títulos principais das páginas (primeira dobra) alinhados à esquerda */
.hero-section h1,
.hero-section h2,
.insights-hero h1,
.insights-hero h2,
section > .container > .row:first-child h1,
section > .container > .row:first-child h2 {
    text-align: left;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
    /* Padding geral para mobile */
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: none;
    color: var(--text-secondary);
}

.solutions-stack {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    padding: 2.5rem 0;
}

.solution-pillar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(2rem, 6vw, 4rem);
    padding: 2rem 0;
}

.solution-pillar:focus {
    outline: 2px solid rgba(255, 87, 34, 0.4);
    outline-offset: 6px;
}

.solutions-stack .solution-pillar:nth-child(even) {
    flex-direction: row-reverse;
}

.solutions-stack .solution-pillar:nth-child(even) .pillar-copy {
    align-items: flex-start;
}

.pillar-media {
    flex: 0 0 clamp(220px, 26vw, 300px);
    width: clamp(220px, 26vw, 300px);
    aspect-ratio: 3 / 4;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.pillar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.solution-pillar:hover .pillar-image,
.solution-pillar:focus-within .pillar-image {
    transform: scale(1.06);
}

.pillar-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 640px;
    align-items: flex-start;
    width: 100%;
}

.pillar-copy h3 {
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.75rem;
}

.pillar-copy p {
    margin: 0;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(10px);
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease;
}

.solution-pillar:hover .pillar-copy p,
.solution-pillar:focus-within .pillar-copy p {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
}

@media (max-width: 992px) {
    .solution-pillar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.75rem;
    }

    .solutions-stack .solution-pillar:nth-child(even) {
        flex-direction: column;
    }

    .solutions-stack .solution-pillar:nth-child(even) .pillar-copy {
        text-align: left;
    }

    .solutions-stack .solution-pillar:nth-child(even) .pillar-copy h3 {
        justify-content: flex-start;
    }

    .pillar-media {
        width: 100%;
        max-width: none;
        min-height: 300px;
    }

    .pillar-copy h3 {
        gap: 0.75rem;
    }
}

@media (max-width: 640px) {
    .solutions-stack {
        gap: 2.25rem;
    }

}

.careers-hero {
    max-width: 1040px;
}

.careers-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2.5rem 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.careers-card .form-select,
.careers-card .form-control {
    background: var(--bg-tertiary);
    border-color: rgba(255, 255, 255, 0.12);
}

.careers-card .form-control[type="file"] {
    padding: 0.6rem 1rem;
}

.careers-card button {
    border-radius: 12px;
    padding-inline: 2.5rem;
}

.careers-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 87, 34, 0.25), rgba(255, 201, 120, 0.05));
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.careers-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.careers-culture {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.careers-culture h2 {
    color: var(--text-primary);
}

@media (max-width: 992px) {
    .careers-card,
    .careers-culture {
        padding: 2rem;
    }

    .careers-image-wrap {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .careers-card,
    .careers-culture {
        padding: 1.75rem;
    }

    .careers-image-wrap {
        min-height: 280px;
    }
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.92);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease, border-color 0.2s ease;
    border-bottom: 2px solid transparent;
}

.navbar-nav .nav-link:hover {
    color: var(--text-primary);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.show {
    color: var(--text-primary) !important;
    border-bottom: 2px solid var(--primary-color);
}

.navbar-brand img {
    transition: opacity 0.3s ease;
}

.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 87, 34, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Theme Toggle */
.theme-toggle {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 87, 34, 0.3);
}

.theme-toggle:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 87, 34, 0.5);
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.3);
}

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

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


/* Sections */
section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section {
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding-top: 96px;
    background: var(--bg-secondary);
}

/* Override para classe utilitária do Bootstrap aplicada no hero */
.hero-section .min-vh-100 { min-height: 75vh !important; }

@media (max-width: 992px) {
    .hero-section { min-height: 60vh; padding-top: 88px; }
}

/* L-Shape Elements */
.l-shape {
    position: absolute;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.l-shape-orange {
    background: url('/static/images/v2/ello-elemento-laranja_1753236716077.png') no-repeat;
    background-size: contain;
}

.l-shape-charcoal {
    background: url('/static/images/v2/ello-elemento-carvão_1753236716075.png') no-repeat;
    background-size: contain;
}

.l-shape-peach {
    background: url('/static/images/v2/ello-elemento-pêssego_1753236716078.png') no-repeat;
    background-size: contain;
}

.l-shape-tangerine {
    background: url('/static/images/v2/ello-elemento-tangerina_1753236716078.png') no-repeat;
    background-size: contain;
}

.l-shape-snow {
    background: url('/static/images/v2/ello-elemento-neve_1753236716077.png') no-repeat;
    background-size: contain;
}

/* Cards */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .card {
    background: var(--bg-tertiary);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .card h5,
[data-theme="dark"] .card h4,
[data-theme="dark"] .card h3,
[data-theme="dark"] .card p {
    color: var(--text-primary);
}

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

/* Icon Cards */
.icon-card {
    text-align: center;
    padding: 3rem 2.5rem;
    margin-bottom: 1rem;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.icon-card:hover .icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.3);
}

.icon-wrapper i {
    font-size: 2rem;
    color: white;
}

/* Footer */
footer {
    background: var(--charcoal);
    color: white;
}

[data-theme="dark"] footer {
    background: #000000;
    border-top: 1px solid var(--border-color);
}

.footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
}

.slide-left {
    animation: slideLeft 0.8s ease forwards;
}

.slide-right {
    animation: slideRight 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Forms */
.form-control {
    background: var(--bg-tertiary);
    border: 2px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control::placeholder,
.careers-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-select {
    background: var(--bg-tertiary);
    border: 2px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 87, 34, 0.25);
    outline: none;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 87, 34, 0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Utility Classes */
.text-primary-custom {
    color: var(--text-primary) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.section-alt {
    background: #000000;
}

/* Visual Enhancements */
.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--primary-color) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, var(--primary-light) 0%, transparent 50%);
}

.section-divider {
    height: 100px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-primary);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

[data-theme="dark"] .wave-divider {
    background: var(--bg-secondary);
}

/* Gradient Overlay */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 87, 34, 0.1) 0%, 
        rgba(255, 87, 34, 0.05) 50%, 
        transparent 100%);
    pointer-events: none;
}

/* Enhanced Card Styles */
.feature-card {
    background: white;
    border: none;
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-theme="dark"] .feature-card {
    background: var(--bg-tertiary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 87, 34, 0.2);
}

/* Number Badges */
.number-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(255, 87, 34, 0.3);
}

/* Case Cards V2 */
.case-card-v2 {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .case-card-v2 {
    background: var(--bg-tertiary);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.case-card-v2:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.6);
}

.case-card-v2 .case-header {
    height: 200px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 -18px 30px rgba(255, 255, 255, 0.04);
}

.case-card-v2 .case-body {
    padding: 2.25rem;
}

/* Founder Section V2 */
.founder-card {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border-radius: 30px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .founder-card {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
}

.founder-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(255, 87, 34, 0.3);
}

.founder-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid var(--primary-light);
    border-radius: 50%;
    opacity: 0.5;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .stat-box {
    background: var(--bg-tertiary);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-yellow);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 3rem;
    }
    
    .impact-showcase {
        padding: 4rem 0 3rem 0;
    }
    
    .impact-cards {
        gap: 2rem;
        padding: 1rem;
    }
    
    /* Ajuste para títulos dos valores no mobile */
    .value-card h5 {
        flex-direction: column;
        text-align: center;
        align-items: center !important;
    }
    
    .value-card h5 i {
        margin-bottom: 0.5rem !important;
        margin-right: 0 !important;
    }
    
    /* Ajuste para títulos da seção Mudanças que ficam no mobile */
    .impact-card h4 {
        flex-direction: row !important;
        text-align: left !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    .impact-card h4 i {
        margin-bottom: 0 !important;
        margin-right: 0.75rem !important;
    }
    
    .impact-card p {
        text-align: left !important;
    }
}

/* Alinhamento horizontal dos títulos dos valores no desktop */
.value-card h5 {
    min-height: 4rem; /* Garante altura consistente para títulos no desktop */
}

/* Alinhamento horizontal dos títulos da seção Mudanças que ficam no desktop */
.impact-card h4 {
    min-height: 4rem; /* Garante altura consistente para títulos no desktop */
}

/* Hero Section para Soluções */
.hero-section-solutions {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/photos/14.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-section-solutions h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-section-solutions p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Responsividade para hero de soluções */
@media (max-width: 768px) {
    .hero-section-solutions {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-background {
        background-position: center center;
        opacity: 0.2;
    }
    
    .hero-section-solutions h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-section-solutions p {
        font-size: 1rem !important;
    }
}

/* Ajustes gerais para mobile */
@media (max-width: 768px) {
    /* Headers - centralizados no mobile */
    .hero-section h1,
    .hero-section h2,
    .hero-section p,
    .hero-section .lead,
    .insights-hero h1,
    .insights-hero h2,
    .insights-hero p,
    .insights-hero .lead,
    .careers-hero h1,
    .careers-hero h2,
    .careers-hero p,
    .careers-hero .lead {
        text-align: center !important;
    }
    
    /* Títulos de seções - centralizados no mobile */
    section h1,
    section h2,
    section h3,
    section .lead,
    section p:not(.text-muted) {
        text-align: center !important;
    }
    
    /* Espaçamento reduzido para mobile */
    section {
        padding: 2rem 0 !important;
    }
    
    .py-5 {
        padding: 2rem 0 !important;
    }
    
    /* Padding mínimo nas laterais para todo o conteúdo */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Footer - centralizado no mobile com padding */
    footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    footer .row {
        text-align: left !important;
    }
    
    footer h6,
    footer p,
    footer ul {
        text-align: left !important;
    }
    
    /* Reduzir espaçamento entre seções */
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
    
    /* Ajustar padding inline */
    [style*="padding: 6rem 0"] {
        padding: 2rem 0 !important;
    }
    
    [style*="padding: 3rem 0"] {
        padding: 1.5rem 0 !important;
    }
    
    /* Ajustes específicos para carousel */
    .carousel-copy {
        text-align: center !important;
    }
    
    /* Ajustes para cards e imagens - manter centralização */
    .card,
    .card-body,
    .text-center,
    .text-muted,
    .client-logo,
    .impact-card,
    .value-card {
        text-align: center !important;
    }
    
    /* Títulos de contato centralizados no mobile */
    .contact-info h3,
    .contact-info h4,
    .contact-info h5,
    .contact-info h6,
    section h3,
    section h4,
    section h5,
    section h6 {
        text-align: center !important;
    }
    
    /* Ajustar espaçamento de seções específicas */
    .hero-section {
        padding: 3rem 0 !important;
    }
    
    .section-relative {
        padding: 2rem 0 !important;
    }
    
    /* Corrigir seções grudadas na página sobre */
    .about-panels {
        margin-top: 2rem !important;
    }
    
    .about-panel {
        margin-bottom: 1rem !important;
    }
    
    .value-card {
        margin-bottom: 1rem !important;
    }
    
    /* Corrigir imagens quadradas na página de soluções no mobile */
    .pillar-image {
        width: 100% !important;
        height: 300px !important;
        object-fit: cover !important;
        object-position: center top !important;
        border-radius: 8px !important;
    }
    
    .solution-pillar {
        margin-bottom: 2rem !important;
    }
    
    /* Texto sempre visível nos cards de clientes no mobile */
    .client-logo {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .client-logo .client-overlay {
        opacity: 1 !important;
        position: relative !important;
        background: rgba(0, 0, 0, 0.8) !important;
        border-radius: 8px !important;
        margin-top: 0.5rem !important;
        padding: 1rem !important;
    }
    
    .client-logo .client-img {
        opacity: 1 !important;
        margin-bottom: 0 !important;
    }
    
    .client-logo:hover .client-overlay {
        opacity: 1 !important;
    }
    
    .client-logo:hover .client-img {
        opacity: 1 !important;
    }
    
    /* Texto dos pillars sempre visível no mobile */
    .solution-pillar .pillar-copy {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .solution-pillar .pillar-copy p {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        max-height: 500px !important;
        overflow: visible !important;
        transition: none !important;
    }
}

/* Cores dos ícones de redes sociais na seção "Siga-nos" da página de contato - amarelo da marca */
.contact-social .fab.fa-linkedin,
.contact-social .fab.fa-facebook,
.contact-social .fab.fa-instagram,
.contact-social .fab.fa-twitter {
    color: #FFC978 !important;
}

.contact-social .fab.fa-linkedin:hover,
.contact-social .fab.fa-facebook:hover,
.contact-social .fab.fa-instagram:hover,
.contact-social .fab.fa-twitter:hover {
    color: #FF5722 !important;
    transition: color 0.3s ease;
}

/* Estilos para a nova seção de clientes */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.client-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    z-index: 10;
    min-height: 200px;
}

.client-img {
    max-width: 120px;
    max-height: 60px;
    transition: all 0.3s ease;
}

.client-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: visible;
    min-height: 200px;
}

.client-logo:hover .client-overlay {
    opacity: 1;
}

.client-logo:hover .client-img {
    opacity: 0;
}

.client-overlay h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    word-wrap: break-word;
    flex-shrink: 0;
}

.client-overlay p {
    color: #D4D8DD;
    font-size: 0.8rem;
    line-height: 1.3;
    text-align: center;
    margin: 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsividade para clientes */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .client-logo {
        padding: 1.5rem;
    }
    
    .client-img {
        max-width: 100px;
        max-height: 50px;
    }
    
    
    .client-logo:hover {
        min-height: 180px;
    }
    
    .client-overlay {
        padding: 1.2rem 0.8rem;
        min-height: 180px;
    }
    
    .client-overlay h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .client-overlay p {
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

/* Fix dark mode text visibility */
[data-theme="dark"] .text-muted {
    color: #b0b0b0 !important;
}

/* Garantir que os textos dos valores estejam visíveis */
.value-card h5 {
    color: var(--text-primary) !important;
}

.value-card p {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .badge {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] p {
    color: var(--text-secondary) !important;
}

/* Garantir visibilidade dos textos em modo escuro */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary) !important;
}

p, .text-muted {
    color: var(--text-secondary) !important;
}

/* Section Patterns */
.section-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.02;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, var(--primary-color) 35px, var(--primary-color) 70px);
    pointer-events: none;
}

/* Cases Grid - Responsive Cards */
.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1200px) {
    .case-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Harmonizar altura e estrutura dos cards v2 dentro do grid */
.case-card-v2 {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

.case-card-v2 .case-body {
    flex: 1;
}

/* Logo centralizado no header */
.case-header .logo-wrap {
    width: 120px;
    height: 120px;
    border-radius: 18px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-header .logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    padding: 0.75rem;
}

/* Texto do case sem truncagem */
.case-body p {
    overflow: visible;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    min-height: auto;
}

.case-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 260px;
}

[data-theme="dark"] .case-card {
    background: var(--bg-tertiary);
    border-color: rgba(255, 255, 255, 0.08);
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.case-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

[data-theme="dark"] .case-logo {
    background: #0f0f0f;
    border-color: rgba(255, 255, 255, 0.08);
}

.case-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.case-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.case-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.5em; /* approx 3 lines */
}

/* Video Placeholder */
.video-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: radial-gradient(1200px 400px at 20% 0%, rgba(255, 87, 34, 0.15), transparent 60%),
                linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

[data-theme="dark"] .video-placeholder {
    background: radial-gradient(1200px 400px at 20% 0%, rgba(255, 87, 34, 0.15), transparent 60%),
                linear-gradient(180deg, var(--bg-tertiary), var(--bg-secondary));
    border-color: rgba(255, 255, 255, 0.08);
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.35);
}

.play-btn i { font-size: 22px; }

.video-copy h3 { color: var(--text-primary); }
.video-copy p { color: var(--text-secondary); }

/* Process Timeline (solucoes.html) */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
}

@media (max-width: 992px) {
    .process-timeline { grid-template-columns: repeat(2, 1fr); }
}

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

.process-step {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .process-step {
    background: var(--bg-tertiary);
    border-color: rgba(255, 255, 255, 0.08);
}

.process-step .step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    box-shadow: 0 6px 18px rgba(255, 87, 34, 0.25);
}

.process-step h4 { color: var(--text-primary); margin-bottom: 0.5rem; }
.process-step p { color: var(--text-secondary); margin: 0; }

/* Conectores decorativos */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,87,34,0.2), rgba(255,87,34,0.05));
}

@media (max-width: 576px) {
    .process-timeline::before { display: none; }
}

/* Decorative brand elements */
.brand-element {
    position: absolute;
    pointer-events: none;
    opacity: 0.18;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.brand-element.sm { width: 80px; height: 80px; }
.brand-element.md { width: 140px; height: 140px; }
.brand-element.lg { width: 220px; height: 220px; }

.brand-rotate-5 { transform: rotate(5deg); }
.brand-rotate-10 { transform: rotate(10deg); }
.brand-rotate-15 { transform: rotate(15deg); }
.brand-rotate--8 { transform: rotate(-8deg); }

/* Contextual placement helpers */
.section-relative { position: relative; }

/* Increase visibility slightly on dark for lighter colors */
[data-theme="dark"] .brand-element.is-light { opacity: 0.22; }

/* Insights Hero */
.insights-hero {
    background: linear-gradient(180deg, rgba(255, 87, 34, 0.08), transparent 45%), var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.insights-hero .eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: none;
    color: var(--text-secondary);
    background: rgba(255, 87, 34, 0.10);
    border: 1px solid rgba(255, 87, 34, 0.25);
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.insights-hero .insights-copy p {
    margin: 0.5rem auto;
    color: var(--text-secondary);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.insight-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    aspect-ratio: 3 / 4;
    background: var(--bg-secondary);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.insight-card:hover,
.insight-card:focus {
    transform: translateY(-8px);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.5);
    outline: none;
}

.insight-card__image {
    position: absolute;
    inset: 0;
}

.insight-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insight-card:hover .insight-card__image img,
.insight-card:focus .insight-card__image img {
    transform: scale(1.05);
}

.insight-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.25rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    color: #fff;
    transition: background 0.35s ease;
}

.insight-card__title {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.insight-card__excerpt {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.insight-card:hover .insight-card__excerpt,
.insight-card:focus .insight-card__excerpt {
    opacity: 1;
    transform: translateY(0);
}

.insight-card:hover .insight-card__overlay,
.insight-card:focus .insight-card__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }
    
    .insight-card__overlay {
        padding: 1.75rem;
    }
}

.text-gradient {
    background: linear-gradient(90deg, var(--accent-yellow), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.insights-subheadline {
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 1.5rem;
}

/* Home: Hero Carousel */
.hero-carousel {
    padding: 0;
    position: relative;
    margin-bottom: 2rem;
}

.hero-carousel .carousel-item {
    height: 70vh;
    min-height: 800px;
    position: relative;
    overflow: hidden;
}

.hero-carousel .carousel-item img.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.05);
    transition: transform 0.8s ease;
}

.hero-carousel .carousel-item:hover img.hero-img {
    transform: scale(1.02);
}

.hero-carousel .carousel-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.2) 40%, 
        transparent 70%
    );
    display: flex;
    align-items: flex-end;
    padding: 0;
    pointer-events: none;
}

.hero-carousel .carousel-overlay .container {
    width: 100%;
    padding-bottom: clamp(3rem, 8vh, 6rem);
    padding-left: clamp(1.5rem, 5vw, 3rem);
    padding-right: clamp(1.5rem, 5vw, 3rem);
}

.hero-carousel .carousel-copy {
    max-width: 35%;
    text-align: left;
    position: relative;
}

.hero-carousel .carousel-copy h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.01em;
}

.hero-carousel .carousel-copy .lead {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0.875rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    opacity: 1;
    color: #ffffff;
}

.hero-carousel .carousel-copy .fw-semibold {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 600;
    color: var(--primary-color) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.hero-carousel .carousel-copy .fw-semibold::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.4);
}

.hero-carousel .btn {
    border-radius: 999px;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.3);
    transition: all 0.3s ease;
}

.hero-carousel .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 87, 34, 0.4);
}

/* Carousel Controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 1;
    cursor: pointer;
    pointer-events: auto;
}

.hero-carousel .carousel-control-prev {
    left: 2rem;
}

.hero-carousel .carousel-control-next {
    right: 2rem;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: rgba(255, 87, 34, 0.8);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
}

/* Carousel Indicators */
.hero-carousel .carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 0.75rem;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

.hero-carousel .carousel-indicators button.active,
.hero-carousel .carousel-indicators button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

/* Mostrar indicadores apenas no mobile */
@media (min-width: 769px) {
    .hero-carousel .carousel-indicators {
        display: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-carousel .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-carousel .carousel-item img.hero-img {
        object-position: 40% center;
    }
    
    .hero-carousel .carousel-overlay .container {
        padding-bottom: clamp(2rem, 6vh, 4rem);
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .hero-carousel .carousel-copy {
        max-width: 45%;
    }
    
    /* Esconder setas no mobile */
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-carousel .carousel-copy {
        max-width: 60%;
    }
}

/* Home: Topic Cards (5 quadros) */
.impact-showcase {
    padding: 6rem 0 4rem 0;
    position: relative;
}

/* Container para indicadores interativos */
.impact-showcase {
    position: relative;
}

.scroll-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.impact-showcase:hover .scroll-indicators {
    opacity: 1;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 87, 34, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.scroll-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.5);
}

.scroll-dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.scroll-dot.hover {
    background: var(--primary-color);
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.6);
    transition: all 0.2s ease;
}

/* Setas direcionais */
.scroll-arrows {
    position: absolute;
    bottom: 1rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.impact-showcase:hover .scroll-arrows {
    opacity: 0.8;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 87, 34, 0.1);
    border: 1px solid rgba(255, 87, 34, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 14px;
}

.scroll-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.scroll-arrow.left {
    left: 2rem;
}

.scroll-arrow.right {
    right: 2rem;
}

.impact-cards {
    display: flex;
    gap: 3.5rem;
    align-items: start;
    max-width: none;
    margin: 0 auto;
    height: auto;
    min-height: auto;
    overflow-x: auto;
    padding: 2rem;
    scroll-behavior: smooth;
    position: relative;
}


/* Scrollbar oculta para visual mais limpo */
.impact-cards::-webkit-scrollbar {
    display: none;
}

.impact-cards {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


.impact-cards .topic-card {
    aspect-ratio: 9 / 16;
    min-height: 500px;
    max-height: 700px;
    width: 300px;
    min-width: 300px;
    flex-shrink: 0;
}


/* Sobre: Painéis interativos */
.about-panels {
    display: grid;
    gap: 2.25rem;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.about-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    width: 100%;
}

.about-panel-trigger {
    position: relative;
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
}

.about-panel-trigger:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
}

.about-panel.is-open .about-panel-trigger,
.about-panel-trigger:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.about-panel-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    filter: saturate(1.1) contrast(1.05);
}

.about-panel-title {
    position: absolute;
    left: 1.75rem;
    bottom: 1.75rem;
    color: #fff;
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.about-panel-body {
    width: 100%;
    padding: 1.5rem 1.75rem;
    border-radius: 18px;
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

.about-panel-body p + p {
    margin-top: 0.75rem;
}

.about-panel:not(.is-open) .about-panel-body {
    display: none;
}

@media (max-width: 992px) {
    .about-panels {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 640px) {
    .about-panels {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-panel {
        gap: 1rem;
    }

    .about-panel-body {
        padding: 1.25rem 1.5rem;
    }
}

.topic-card {
    position: relative;
    background: var(--bg-secondary);
    border: none;
    border-radius: 18px;
    overflow: hidden;
    min-height: 0;
    display: flex;
    align-items: flex-end;
}

.topic-card .topic-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.topic-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 80%);
    z-index: 1;
}

.topic-card .topic-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 1.25rem;
    width: 100%;
}

.topic-card .topic-list { opacity: 0; max-height: 0; transition: all 0.35s ease; }
.topic-card:hover .topic-img { transform: scale(1.05); }
.topic-card:hover .topic-list { opacity: 1; max-height: 200px; }
.topic-card h4 { margin-bottom: 0.5rem; }
.topic-card .topic-quote { font-weight: 600; opacity: 0.9; margin-bottom: 0.5rem; }

@media (max-width: 1200px) {
    .impact-showcase {
        padding: 4rem 0;
    }
    
    .impact-cards {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .impact-showcase {
        padding: 3rem 0;
    }

    .impact-cards {
        gap: 1.5rem;
        padding: 1rem;
    }

    .impact-cards .topic-card {
        width: 280px;
        min-width: 280px;
        min-height: 400px;
    }
}

@media (max-width: 640px) {
    .impact-showcase {
        padding: 2.5rem 0;
    }
    
    .impact-cards {
        gap: 1.25rem;
        padding: 0.5rem;
    }

    .impact-cards .topic-card {
        width: 260px;
        min-width: 260px;
        min-height: 350px;
    }
}


/* Card cover images */
.card-cover {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

/* Global text alignment - Desktop and Mobile */
h1, h2, h3, h4, h5, h6 {
    text-align: left !important;
}

p, .lead {
    text-align: left !important;
}

/* Exclude specific sections from left alignment */
.hero-carousel .carousel-copy,
.impact-showcase,
.clients-grid,
.contact-item,
.about-panel,
.solution-pillar,
.process-timeline,
.stats-grid,
.value-card,
.impact-card,
.topic-card {
    /* Keep original alignment for these sections */
}

/* Override center alignment classes */
.text-center {
    text-align: left !important;
}

/* Specific overrides for main content areas */
.container h1,
.container h2,
.container h3,
.container h4,
.container h5,
.container h6,
.container p,
.container .lead {
    text-align: left !important;
}

/* Additional text alignment rules */
.display-1, .display-2, .display-3, .display-4, .display-5 {
    text-align: left !important;
}

/* Section headers and content */
section h1,
section h2,
section h3,
section h4,
section h5,
section h6,
section p,
section .lead {
    text-align: left !important;
}

/* Main content areas */
main h1,
main h2,
main h3,
main h4,
main h5,
main h6,
main p,
main .lead {
    text-align: left !important;
}

/* Insights page header alignment */
.insights-hero {
    text-align: left !important;
}

.insights-hero .container {
    text-align: left !important;
}

.insights-hero .row {
    text-align: left !important;
}

.insights-hero .col-lg-12 {
    text-align: left !important;
}

.insights-hero h1 {
    text-align: left !important;
}

.insights-hero .eyebrow {
    text-align: left !important;
}

.insights-hero .insights-copy {
    text-align: left !important;
}

.insights-hero .insights-copy p {
    text-align: left !important;
}

/* Insights copy width - Desktop only */
@media (min-width: 992px) {
    .insights-hero .insights-copy {
        max-width: 70%;
    }
}

/* Hero carousel content alignment - All devices */
.hero-carousel .carousel-overlay {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 2rem;
}

.hero-carousel .carousel-copy {
    text-align: left !important;
    max-width: 100%;
}

.hero-carousel .carousel-copy h2,
.hero-carousel .carousel-copy p {
    text-align: left !important;
}

/* Mobile specific hero alignment */
@media (max-width: 768px) {
    .hero-carousel {
        min-height: 100vh;
    }
    
    .hero-carousel .carousel-item {
        min-height: 100vh;
    }
    
    .hero-carousel .hero-img {
        min-height: 100vh;
        object-fit: cover;
        object-position: center;
    }
    
    .hero-carousel .carousel-overlay {
        padding: 2rem 1.5rem;
        align-items: flex-end;
        justify-content: flex-start;
        min-height: 100vh;
    }
    
    .hero-carousel .carousel-copy {
        text-align: left !important;
        max-width: 100vh;
        margin-bottom: 2rem;
    }
    
    .hero-carousel .carousel-copy h2,
    .hero-carousel .carousel-copy p {
        text-align: left !important;
    }
    
    /* Mobile content for 15 anos slide */
    .hero-carousel .carousel-copy .desktop-only {
        display: none;
    }
    
    .hero-carousel .carousel-copy .mobile-only {
        display: block;
    }
}

/* Desktop content for 15 anos slide */
.hero-carousel .carousel-copy .desktop-only {
    display: block;
}

.hero-carousel .carousel-copy .mobile-only {
    display: none;
}

/* Desktop hero width limitation */
@media (min-width: 992px) {
    .hero-carousel .carousel-copy {
        max-width: 40%;
    }
}

/* Icon cards text alignment */
.icon-card {
    text-align: center !important;
}

.icon-card h5 {
    text-align: center !important;
}

.icon-card p {
    text-align: center !important;
}

/* Hero carousel controls size */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-carousel .carousel-control-prev {
    left: 20px;
}

.hero-carousel .carousel-control-next {
    right: 20px;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Value cards mobile alignment */
@media (max-width: 768px) {
    .value-card {
        text-align: left !important;
        display: block !important;
    }
    
    .value-card h5 {
        text-align: left !important;
        justify-content: flex-start !important;
        display: flex !important;
        align-items: center !important;
        flex-direction: row !important;
    }
    
    .value-card h5 i {
        margin-right: 0.75rem !important;
        margin-left: 0 !important;
        flex-shrink: 0 !important;
    }
    
    .value-card p {
        text-align: left !important;
        margin-left: 0 !important;
    }
    
    /* Force override any center alignment */
    .col-md-6 .value-card,
    .col-lg-3 .value-card {
        text-align: left !important;
    }
}

/* Manifesto text alignment */
@media (min-width: 992px) {
    .card-cover + div {
        text-align: center !important;
    }
}

/* Process steps text alignment */
.process-step {
    text-align: center !important;
}

.process-step h4 {
    text-align: center !important;
}

.process-step p {
    text-align: center !important;
}

/* Solutions page mobile alignment */
@media (max-width: 768px) {
    /* Hero section */
    .solutions-hero-content {
        text-align: left !important;
    }
    
    .solutions-hero-content h1,
    .solutions-hero-content p {
        text-align: left !important;
    }
    
    .solutions-hero-content .row {
        text-align: left !important;
    }
    
    .solutions-hero-content .col-lg-8 {
        text-align: left !important;
    }
    
    .hero-section-solutions {
        text-align: left !important;
    }
    
    .hero-section-solutions h1,
    .hero-section-solutions p {
        text-align: left !important;
    }
    
    .hero-section-solutions .container {
        text-align: left !important;
    }
    
    .hero-section-solutions .row {
        text-align: left !important;
    }
    
    .hero-section-solutions .col-lg-8 {
        text-align: left !important;
    }
    
    /* Solution pillars */
    .solution-pillar h3,
    .solution-pillar p {
        text-align: left !important;
    }
    
    .solution-pillar .pillar-copy p {
        text-align: left !important;
    }
    
    
    /* Process timeline title */
    .process-timeline + h2 {
        text-align: left !important;
    }
    
    /* CTA section */
    .cta-box h3,
    .cta-box p {
        text-align: left !important;
    }
    
    /* Impact cards */
    .impact-card h4,
    .impact-card p {
        text-align: left !important;
    }
    
    /* Stats section */
    .stats-section h2 {
        text-align: left !important;
    }
    
    .stat-box {
        text-align: left !important;
    }
}

/* Contact item alignment */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    text-align: left !important;
    color: var(--text-muted);
}

/* Mobile adjustments for entire contact page */
@media (max-width: 768px) {
    /* Main content alignment */
    .container {
        text-align: left !important;
    }
    
    /* Hero section */
    h1.display-4 {
        text-align: left !important;
    }
    
    .lead {
        text-align: left !important;
    }
    
    p.lead {
        text-align: left !important;
    }
    
    .slide-up.lead {
        text-align: left !important;
    }
    
    /* Contact form */
    .contact-form-wrapper {
        text-align: left !important;
    }
    
    .contact-form-wrapper h3 {
        text-align: left !important;
    }
    
    .form-label {
        text-align: left !important;
    }
    
    /* Contact info section */
    .contact-info {
        text-align: left !important;
    }
    
    .contact-item {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
        align-items: flex-start;
        text-align: left;
    }
    
    .contact-item i {
        font-size: 1.1rem;
        margin-top: 0.1rem;
    }
    
    .contact-item div {
        text-align: left !important;
    }
    
    .contact-item h6 {
        text-align: left !important;
    }
    
    .contact-item p {
        text-align: left !important;
        text-align-last: left !important;
    }
    
    /* Force specific text alignment */
    .contact-item p:first-of-type,
    .contact-item p:last-of-type {
        text-align: left !important;
    }
    
    .contact-social {
        text-align: left !important;
    }
    
    .contact-social h6 {
        text-align: left !important;
    }
    
    /* Form buttons */
    .btn {
        text-align: left !important;
    }
    
    /* Force specific paragraph alignment */
    p {
        text-align: left !important;
    }
    
    /* Override any center alignment */
    .text-center {
        text-align: left !important;
    }
}

/* Classes específicas para logos de clientes */
.client-img-safra {
    max-width: 200px !important;
    max-height: 120px !important;
}

.client-img-lampejo {
    max-width: 200px !important;
    max-height: 120px !important;
}

.client-img-perinatal {
    max-width: 300px !important;
    max-height: 120px !important;
}

@media (max-width: 768px) {
    .client-img-safra {
        max-width: 160px !important;
        max-height: 100px !important;
    }
    
    .client-img-lampejo {
        max-width: 160px !important;
        max-height: 100px !important;
    }
    
    .client-img-perinatal {
        max-width: 160px !important;
        max-height: 100px !important;
    }
}
