/* ============================================
   VITÓRIA CLASS COLCHÕES - CUSTOM STYLES
   ============================================ */

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
    background-color: #f8f9fa;
    overflow-x: hidden;
    line-height: 1.7;
}

/* === VIDEO HEADER === */
.video-header {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.header-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
    padding: 50px;
    /* background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(13,110,253,0.3)); */
    border-radius: 25px;
    max-width: 900px;
    margin: 0 auto;
    /* backdrop-filter: blur(10px); */

}

.header-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.header-subtitle {
    font-size: 1.4rem;
    margin-bottom: 0;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.6;
}

/* Fade Animation */
.fade-text {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.fade-text.show {
    opacity: 1;
}

/* === NAVBAR === */
.navbar {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 1rem 0;
    background: white !important;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.nav-link {
    font-weight: 600;
    color: #2c3e50 !important;
    margin: 0 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: #0d6efd !important;
}

/* === SECTIONS === */
section {
    padding: 5rem 0;
    position: relative;
}

section h2 {
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 3.5rem;
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    border-radius: 3px;
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* === PRODUCT CARDS === */
.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2) !important;
}

.card-img-top {
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-img-top {
    transform: scale(1.15);
}

.card-body {
    padding: 2rem;
    background: linear-gradient(to bottom, white, #f8f9fa);
}

.card-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-footer {
    background: transparent;
}

/* === BUTTONS === */
.btn {
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: width 0.6s, height 0.6s;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.35);
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838, #1ba87e);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.5);
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7, #0bb5d4);
    box-shadow: 0 8px 30px rgba(13, 110, 253, 0.5);
    transform: translateY(-3px);
}

.btn-light {
    background: white;
    color: #0d6efd;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
    background: #f8f9fa;
    color: #0b5ed7;
    transform: translateY(-3px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: #0d6efd !important;
    border-color: white;
    transform: translateY(-3px);
}

.btn-outline-primary {
    border: 2px solid #0d6efd;
    color: #0d6efd;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    border-color: #0d6efd;
    color: white;
    transform: translateY(-3px);
}

/* === TESTIMONIALS === */
#depoimentos {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
}

.depoimentos-carousel {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
}

.depoimento-card {
    min-width: 350px;
    scroll-snap-align: center;
    border-radius: 20px;
    border: none;
    transition: all 0.4s ease;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.depoimento-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

.depoimento-card .card-body {
    padding: 2.5rem;
}

.blockquote {
    margin-bottom: 0;
}

.blockquote p {
    font-size: 1rem;
    line-height: 1.8;
    color: #495057;
    font-style: italic;
}

.blockquote-footer {
    font-weight: 700;
    color: #0d6efd;
    margin-top: 1.5rem;
    font-size: 1rem;
    font-style: normal;
}

.blockquote-footer::before {
    content: '— ';
}

.text-warning i {
    margin: 0 2px;
    text-shadow: 0 2px 5px rgba(255, 193, 7, 0.3);
}

.depoimentos-carousel::-webkit-scrollbar {
    height: 10px;
}

.depoimentos-carousel::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}

.depoimentos-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    border-radius: 10px;
}

.depoimentos-carousel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #0b5ed7, #0bb5d4);
}

/* === INTRO SECTION === */
.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%) !important;
    border-bottom: 3px solid #dee2e6;
}

/* === CTA SECTION === */
.bg-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%) !important;
    position: relative;
    overflow: hidden;
}

.bg-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.bg-primary .container {
    position: relative;
    z-index: 1;
}

/* === FOOTER === */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

footer p {
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* === ABOUT SECTION === */
.about-row {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    gap: 3rem;
}

.about-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.about-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.1);
}

.about-text {
    flex: 1;
}

.about-text h6 {
    color: #0d6efd;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-text p {
    color: #495057;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: #495057;
}

.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .header-title {
        font-size: 2.5rem;
    }
    
    .header-subtitle {
        font-size: 1.2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .about-row {
        flex-direction: column;
    }
    
    .depoimento-card {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .video-header {
        height: 70vh;
    }
    
    .header-overlay {
        padding: 30px;
    }
    
    .header-title {
        font-size: 2rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    section h2 {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }
    
    .card-img-top {
        height: 220px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .video-header {
        height: 60vh;
    }
    
    .header-overlay {
        padding: 20px;
        border-radius: 15px;
    }
    
    .header-title {
        font-size: 1.75rem;
    }
    
    .header-subtitle {
        font-size: 0.95rem;
    }
    
    .depoimento-card {
        min-width: 280px;
    }
}

/* === UTILITY CLASSES === */
.shadow-lg-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-lg-hover:hover {
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important;
}

.text-gradient {
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fw-bolder {
    font-weight: 800 !important;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* === SOBRE PAGE SPECIFIC === */
.sobre-hero {
    position: relative;
    background-attachment: fixed;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: white !important;
}

.breadcrumb-item a:hover {
    opacity: 0.8;
}

/* Seção de Marcas */
.bg-gradient-green {
    background: linear-gradient(135deg, #7cb342 0%, #9ccc65 100%);
}

/* Cards de Benefícios */
.benefit-card {
    transition: all 0.3s ease;
    border-left: 4px solid #0d6efd;
    padding-left: 1rem;
}

.benefit-card:hover {
    transform: translateX(10px);
    border-left-color: #0dcaf0;
}

/* Ajustes para imagens da seção sobre */
section img.rounded-4 {
    transition: transform 0.5s ease, box-shadow 0.3s ease;
}

section img.rounded-4:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2) !important;
}
