/* ====================================
   COMPANY SECTION
==================================== */
.company-section {
    padding: 6rem 0; /* Reduzido de 8rem */
    background: #000;
    position: relative;
    overflow: hidden;
}

/* Background Animation */
.company-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 128, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 128, 0.03) 0%, transparent 25%);
    animation: pulseBackground 10s ease-in-out infinite alternate;
}

@keyframes pulseBackground {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Card Base Styles */
.company-story,
.model-box,
.display-info,
.highlight-box {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 128, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Wave Effect */
.wave-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    bottom: -150%;
    left: -50%;
    background: linear-gradient(
        744deg,
        rgba(0, 255, 128, 0.1),
        rgba(0, 255, 128, 0.2) 60%,
        rgba(0, 255, 128, 0.1)
    );
    border-radius: 40%;
    animation: wave 55s infinite linear;
    opacity: 0.2;
    transition: all 0.5s ease-in-out;
}

.wave:nth-child(2),
.wave:nth-child(3) {
    bottom: -160%;
    opacity: 0.15;
}

.wave:nth-child(2) {
    animation-duration: 50s;
}

.wave:nth-child(3) {
    animation-duration: 45s;
}

/* Company Story */
.company-story {
    margin-bottom: 3rem; /* Reduzido de 4rem */
    animation: fadeInUp 0.8s ease forwards;
}

.company-story .card-content {
    padding: 2.5rem; /* Reduzido de 3.5rem */
}

.company-story h3 {
    color: #00ff80;
    font-size: clamp(1.8rem, 2.5vw, 2.2rem); /* Reduzido */
    margin-bottom: 1.5rem; /* Reduzido de 2rem */
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px rgba(0, 255, 128, 0.3);
}

.company-story p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.9rem, 1.2vw, 1.1rem); /* Reduzido */
    line-height: 1.6; /* Reduzido de 1.8 */
    position: relative;
    z-index: 2;
}

/* Business Models Grid */
.business-models {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem; /* Reduzido de 3rem */
    margin-bottom: 3rem; /* Reduzido de 4rem */
}

.model-box .card-content,
.display-info .card-content {
    padding: 2rem; /* Reduzido de 3rem */
    position: relative;
    z-index: 2;
}

/* Icons com glow */
.model-box i,
.display-info i {
    color: #00ff80;
    font-size: 2.2rem; /* Reduzido de 2.5rem */
    margin-bottom: 1.5rem; /* Reduzido de 2rem */
    display: inline-block;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(0, 255, 128, 0.3));
    position: relative;
    z-index: 2;
}

/* Headings */
.model-box h4,
.display-info h4 {
    color: #00ff80;
    font-size: 1.4rem; /* Reduzido de 1.6rem */
    margin-bottom: 1.2rem; /* Reduzido de 1.5rem */
    position: relative;
    z-index: 2;
    text-shadow: 0 0 15px rgba(0, 255, 128, 0.2);
}

/* Lists */
.model-box ul li,
.display-info ul li {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.8rem 0; /* Reduzido de 1rem */
    padding-left: 2rem;
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
}

.model-box ul li::before,
.display-info ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00ff80;
    transition: transform 0.3s ease;
}

/* Highlights Grid - Nova Estilização */
.company-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-box {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(0, 40, 20, 0.8));
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: floatIn 0.8s ease-out forwards;
    opacity: 0;
}

.highlight-box .card-content {
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-box i {
    color: #00ff80;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 10px rgba(0, 255, 128, 0.3));
}

.highlight-box h4 {
    color: #00ff80;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 15px rgba(0, 255, 128, 0.2);
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Mobile Carousel Structure */
.mobile-carousels {
    display: none;
}

.primary-carousel,
.secondary-carousel {
    position: relative;
    margin-bottom: 3rem;
}

.carousel-container {
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    padding: 0 1rem;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Animations */
@keyframes wave {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateX(30deg) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateX(0) translateY(0);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: translateZ(30px) scale(1.2);
    }
    50% {
        transform: translateZ(40px) scale(1.3);
    }
}

/* Hover Effects */
.company-story:hover,
.model-box:hover,
.display-info:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 128, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 255, 128, 0.1),
        0 0 30px rgba(0, 255, 128, 0.05) inset;
}

.company-story:hover .wave,
.model-box:hover .wave,
.display-info:hover .wave {
    opacity: 0.4;
    bottom: -140%;
}

.model-box:hover i,
.display-info:hover i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(0, 255, 128, 0.4));
}

.model-box ul li:hover,
.display-info ul li:hover {
    color: #00ff80;
    transform: translateX(10px);
}

/* Novos hover effects para highlight boxes */
.highlight-box:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 255, 128, 0.4);
    box-shadow: 
        0 15px 30px rgba(0, 255, 128, 0.15),
        0 0 20px rgba(0, 255, 128, 0.1) inset;
}

.highlight-box:hover .card-content {
    transform: translateZ(20px);
}

.highlight-box:hover i {
    transform: translateZ(30px) scale(1.2);
    filter: drop-shadow(0 0 20px rgba(0, 255, 128, 0.6));
    animation: iconPulse 1.5s ease-in-out infinite;
}

/* Animation Delays */
.company-story { animation-delay: 0.1s; }
.model-box:nth-child(1) { animation-delay: 0.3s; }
.model-box:nth-child(2) { animation-delay: 0.5s; }
.highlight-box:nth-child(1) { animation-delay: 0.3s; }
.highlight-box:nth-child(2) { animation-delay: 0.5s; }
.highlight-box:nth-child(3) { animation-delay: 0.7s; }

/* Estilos base para os SVGs animados */
.card-svg {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 255, 128, 0.3));
}

/* Remover ícones Font Awesome antigos */
.model-box i,
.display-info i,
.highlight-box i {
    display: none;
}

/* Ajustes nos cards para os novos SVGs */
.model-box .card-content,
.display-info .card-content,
.highlight-box .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Animações específicas para elementos SVG */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes dash {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes moveUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Cores para os SVGs */
.svg-stroke { stroke: #00ff80; }
.svg-fill { fill: #00ff80; }
.svg-glow { filter: drop-shadow(0 0 5px rgba(0, 255, 128, 0.5)); }