* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #434343;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.container-home {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 20px;
}

.brain {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex: 0 0 auto;
    position: relative;
    top: 50%;
    margin-top: -300px;
}

.side-blue,
.side-yellow {
    transition: opacity 0.3s ease-in-out;
}

.side-blue:hover,
.side-yellow:hover {
    opacity: 0.7;
}

.side-blue img {
    max-width: 100%;
}


.side-yellow img {
    max-width: 100%;
}

.chip {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 999;
    margin-left: -72px;
    margin-top: -77px;
}

.chip img {
    max-width: 100%;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(317deg, #0c0c0c 0%, #4b4b4b 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.videos-section {
    background-color: #676767;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #8b8b8b;
    color: #ffffff;
}

.section-title i {
    margin-right: 15px;
    font-size: 1.8rem;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.file-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.file-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
    background-color: #f0f7ff;
}

.file-icon {
    width: 60px;
    height: 60px;
    background-color: #e3f2fd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #2575fc;
    font-size: 1.8rem;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.file-size {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.download-btn {
    background-color: #2575fc;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.download-btn:hover {
    background-color: #1c5dc1;
}

.video-container {
    width: 100%;
    margin-top: 0;
}

.brand-container {
    background-color: #232323;
    padding: 20px;
    border: solid 2px #ffc04a;
    border-radius: 8px;
    text-align: center;
}

.brand-container-ravel {
    border: solid 2px #07b7d7;
    text-align: center;
}

.brand-container img {
    max-width: 100%;
    box-sizing: border-box;
}

.brand-product {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
}


.video-preview-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
    transition: opacity 0.3s ease;
}

.hover-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(37, 117, 252, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    z-index: 10;
}

.video-play-btn:hover {
    background-color: #1c5dc1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 1.2rem;
}

.video-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.video-tag {
    display: inline-block;
    background-color: #e3f2fd;
    color: #2575fc;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-top: 10px;
    font-weight: 500;
}

/* Modal for fullscreen video */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 90%;
    max-width: 1000px;
    position: relative;
}

.modal-video {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.close-modal:hover {
    opacity: 1;
}

.modal-title {
    position: absolute;
    bottom: -40px;
    left: 0;
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
}

footer {
    position: relative;
    text-align: center;
    margin-top: auto;
    padding: 20px;
    color: #d9d9d9;
    font-size: 0.9rem;
    border-top: 1px solid #717171;
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    margin-bottom: 30px;
}

.col {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    position: relative;
    width: 100%;
}

/* 3 colunas por linha em desktop */
.row .col {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.row-center {
    justify-content: center;
}

.row-center .col {
    flex: 0 0 50%;
    max-width: 50%;
}

/* Ajuste para o video-container dentro das colunas */
.col .video-container {
    display: block;
    width: 100%;
    height: 100%;
    margin-top: 0;
}

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

    .video-container {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    .video-preview-container {
        height: 180px;
    }
}

@media (max-width: 992px) {
    .row .col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .row .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .row {
        margin-right: -5px;
        margin-left: -5px;
    }

    .col {
        padding-right: 5px;
        padding-left: 5px;
    }
}

/* tooltip */
.side-blue,
.side-yellow {
    position: relative;
}

.side-blue .tooltip-text,
.side-yellow .tooltip-text {
    position: absolute;
    top: 210px;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, #1e1e1e 0%, #2c2c2c 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 100;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.side-blue .tooltip-text {
    border-bottom: 2px solid #07b7d7;
    box-shadow: 0 5px 20px rgba(7, 183, 215, 0.3);
    left: 33%;
}

.side-yellow .tooltip-text {
    border-bottom: 2px solid #ffc04a;
    box-shadow: 0 5px 20px rgba(255, 192, 74, 0.3);
    left: 67%;
}

.side-blue:hover .tooltip-text,
.side-yellow:hover .tooltip-text {
    opacity: 1;
    transform: translateX(-50%) translateY(50%);
}