/* ===============================
Nossa Empresa Page Styles
=============================== */

/* About Company section */
.about-company {
    padding: 48px 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-company .section-title {
    text-align: center;
    margin-bottom: 18px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.about-card {
    background: rgba(12, 12, 12, 0.9);
    border: 1px solid #1b2a2a;
    border-radius: 12px;
    padding: 16px;
}

.about-card__title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #eaffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-card__title i {
    color: #7ffcff;
}

.about-card__text {
    margin: 0;
    color: #cfe7e7;
    line-height: 1.6;
}

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

/* Redesigned layout */
.about-history {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
    margin: 18px 0 22px;
}

.about-history__text {
    background: rgba(12, 12, 12, 0.9);
    border: 1px solid #1b2a2a;
    border-radius: 12px;
    padding: 16px;
}

.about-history__text p {
    margin: 0;
    color: #cfe7e7;
    line-height: 1.7;
}

.about-history__timeline {
    list-style: none;
    margin: 0;
    padding: 14px 16px;
    background: rgba(12, 12, 12, 0.9);
    border: 1px solid #1b2a2a;
    border-radius: 12px;
}

.about-history__timeline li {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-left: 3px solid rgba(127, 252, 255, 0.25);
    padding-left: 12px;
}

.about-history__timeline .year {
    color: #7ffcff;
    font-weight: 600;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .about-history {
        grid-template-columns: 1fr;
    }

    .about-values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .about-values-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
Company Page (Lab Visual)
=============================== */
.lab-visual {
    padding: 46px 0 60px;
}

.lab-visual .section-title {
    text-align: center;
    font-size: clamp(1.6rem, 3.2vw, 2.1rem);
    margin: 10px auto 24px;
    color: #eaffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.25);
}

.cta-section {
    padding: 36px 20px;
}

.cta-section .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 255, 255, 0.05) 100%);
    border: 2px solid rgba(0, 255, 255, 0.4);
    border-radius: 12px;
    color: #00ffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta-section .cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.cta-section .cta-button:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 255, 0.6);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(0, 255, 255, 0.08) 100%);
    box-shadow: 0 8px 24px rgba(0, 255, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color: #7ffcff;
}

.cta-section .cta-button:hover::before {
    left: 100%;
}

.cta-section .cta-button:active {
    transform: translateY(-1px);
    transition-duration: 0.1s;
}

/* About Section - Movido do index.css */
.about-section {
    background-color: #000000 !important;
    padding: 100px 0;
    overflow: hidden;
    position: relative;
    margin-top: -100px;
}

.about-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 40px;
}

.about-container::before,
.about-container::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-color: #00ffff;
    border-style: solid;
    animation: pulse-dramatic 2.5s infinite ease-in-out;
}

.about-container::before {
    top: 0;
    left: 0;
    border-width: 4px 0 0 4px;
}

.about-container::after {
    bottom: 0;
    right: 0;
    border-width: 0 4px 4px 0;
}

.about-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
    color: #ccc;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-highlights {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    border-top: 1px solid #222;
    padding-top: 30px;
}

.highlight-item h4 {
    font-size: 1.1rem;
    color: #00ffff;
    margin-bottom: 10px;
    font-weight: 600;
}

.about-image-collage {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
    min-height: 450px;
}

.image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #333;
    transition: transform 0.5s ease, border-color 0.4s ease, box-shadow 0.5s ease;
    z-index: 1;
    cursor: pointer;
}

.image-container:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: #00ffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-container:hover::after {
    opacity: 1;
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-container {
    cursor: default;
}

.image-container:hover .collage-img {
    transform: scale(1.1);
}

.image-container-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    height: 300px;
}

.image-container-2 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    height: 150px;
}

.image-container-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    height: 150px;
}

@keyframes pulse-dramatic {

    0%,
    100% {
        filter: drop-shadow(0 0 3px rgba(0, 255, 255, 0.2));
        opacity: 0.2;
    }

    50% {
        filter: drop-shadow(0 0 15px #00ffff) drop-shadow(0 0 25px #00ffff);
        opacity: 1;
    }
}

/* --- Peeking Robot Animation --- */
.main-image-container {
    overflow: hidden;
    /* Ensures the robot is hidden when outside the bounds */
}

.peeking-robot {
    position: absolute;
    top: -10px;
    left: 15%;
    width: 80px;
    height: 100px;
    z-index: 5;
    transform: translateY(-67%);
    /* Nudged up slightly */
    transition: transform 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.peeking-robot.peek {
    transform: translateY(0%);
    /* Reveals the full head and neck */
}

.robot-neck {
    width: 30px;
    height: 30px;
    background: linear-gradient(145deg, #4a4a4a, #2c2c2c);
    border-left: 1px solid #555;
    border-right: 1px solid #555;
}

.robot-head {
    width: 100%;
    height: 70px;
    background: linear-gradient(145deg, #4a4a4a, #2c2c2c);
    border-radius: 8px 8px 12px 12px;
    border: 1px solid #555;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 2px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    /* Re-center eyes vertically */
    justify-content: center;
    gap: 15px;
    transform: rotate(180deg);
}

/* Antenna */
.robot-head::before {
    content: '';
    position: absolute;
    bottom: 100%;
    /* Positioned at the top of the head (which is now the bottom) */
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background: #888;
}

.robot-head::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ffff;
}

/* Side 'ear' pieces - now independent */
.robot-ear {
    position: absolute;
    top: calc(50% - 10px);
    /* Moved up 10px */
    transform: translateY(-50%);
    width: 8px;
    height: 25px;
    background: linear-gradient(145deg, #3e3e3e, #222222);
    border: 1px solid #555;
}

.left-ear {
    left: -9px;
    border-radius: 5px 0 0 5px;
}

.right-ear {
    right: -9px;
    border-radius: 0 5px 5px 0;
}

.robot-eye {
    width: 15px;
    height: 15px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffff, inset 0 0 4px #fff;
    position: relative;
    bottom: 10px;
    /* Moved up 10px */
    overflow: hidden;
    /* To contain the eyelid */
}

.robot-eye::before,
.robot-eye::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(145deg, #4a4a4a, #2c2c2c);
    /* Removed border-radius for a straight eyelid */
    z-index: 2;
    /* Ensure eyelids are on top of the glow */
}

.robot-eye::before {
    bottom: 0;
}

.robot-eye::after {
    top: 0;
}

.robot-mouth {
    position: absolute;
    bottom: 15px;
    width: 40%;
    height: 10px;
    background: repeating-linear-gradient(90deg, #333, #333 2px, #444 2px, #444 4px);
    border: 1px solid #222;
    border-radius: 3px;
}

.peeking-robot.wink .left-eye::before,
.peeking-robot.wink .left-eye::after {
    animation: wink-blink 0.4s ease-in-out;
}

@keyframes wink-blink {

    0%,
    100% {
        height: 0%;
    }

    50% {
        height: 51%;
    }

    /* Overlap slightly to close the gap */
}

