/* Colchões Multimarcas - Styles.css */
/* Cores: Azul escuro (sono profundo), branco, vermelho para ofertas */
/* Layout: Varejo tradicional focado em produtos */

:root {
    --primary-blue: #1e3a5f;
    --primary-blue-dark: #152c4a;
    --primary-blue-light: #2c5282;
    --secondary-white: #FFFFFF;
    --accent-red: #e53e3e;
    --accent-red-light: #fc8181;
    --text-dark: #2d3748;
    --text-light: #718096;
    --text-white: #f7fafc;
    --shadow: rgba(30, 58, 95, 0.1);
    --shadow-dark: rgba(30, 58, 95, 0.2);
    --border-light: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--secondary-white);
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--secondary-white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    border-bottom: 2px solid var(--primary-blue);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 2rem 4rem;
    background: linear-gradient(135deg, var(--secondary-white) 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="sleep" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%231e3a5f" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23e53e3e" opacity="0.02"/><path d="M20 50 Q50 30 80 50 Q50 70 20 50" stroke="%231e3a5f" stroke-width="0.5" fill="none" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23sleep)"/></svg>');
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.hero h1::before {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-red);
    margin-bottom: 1rem;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--secondary-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 2px solid var(--border-light);
    min-width: 140px;
    text-align: center;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-red-light));
    color: var(--secondary-white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
    border-color: var(--accent-red);
}

.hero-image {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 1;
}

.image-placeholder {
    font-size: 8rem;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Content Section */
.content-section {
    padding: 6rem 2rem;
    background: #f8fafc;
}

.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    position: relative;
}

.content-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-red);
    margin: 1rem auto;
    border-radius: 2px;
}

.content-section h3 {
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
    color: var(--primary-blue);
    position: relative;
    padding-left: 1.5rem;
}

.content-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--accent-red);
    border-radius: 2px;
}

.content-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Product Showcase */
.product-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.product-card {
    background: var(--secondary-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.product-image {
    height: 250px;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image .placeholder {
    font-size: 4rem;
    color: var(--secondary-white);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-red);
    color: var(--secondary-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.product-info .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.product-info .old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1rem;
    margin-left: 0.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1rem;
}

.product-features li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.product-features li::before {
    content: '✓';
    color: var(--primary-blue);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial {
    background: var(--secondary-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    border-left: 4px solid var(--primary-blue);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.testimonial cite {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--text-white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-red);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary-white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-red);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 1rem 2rem;
    }

    .hero-image {
        position: static;
        transform: none;
        margin-top: 3rem;
        order: -1;
    }

    .hero-features {
        justify-content: center;
    }

    .product-showcase,
    .testimonials {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


