:root {
    --primary: #8E0303;       /* Vermelho escuro */
    --secondary: #DDB847;     /* Dourado */
    --light: #F8F5F0;         /* Off-white */
    --dark: #2c2c2c;          /* Escuro para textos */
    --accent: #a53d3d;        /* Vermelho mais claro para destaques */
    --paper: #f4e9d8;         /* Cor de papel antigo */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><rect width="400" height="400" fill="%23f8f5f0"/><path d="M0,0 Q200,100 400,0 L400,400 Q200,300 0,400 Z" fill="%23f4e9d8" opacity="0.3"/></svg>');
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}

/* Banner Fixo */
.fixed-banner {
    position: sticky;
    top: 0;
    background: linear-gradient(to right, var(--primary), #6a0101);
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-bottom: 2px solid var(--secondary);
    animation: pulseBanner 3s infinite;
}

@keyframes pulseBanner {
    0% { opacity: 0.9; }
    50% { opacity: 1; }
    100% { opacity: 0.9; }
}

#stock-number {
    font-size: 1.3em;
    background: var(--secondary);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 20px;
    margin: 0 5px;
    animation: pulse 2s infinite;
    display: inline-block;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Header */
header {
    background: linear-gradient(rgba(142, 3, 3, 0.85), rgba(142, 3, 3, 0.85)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%238E0303"/><path d="M0 50 Q 25 30, 50 50 T 100 50" fill="none" stroke="%23DDB847" stroke-width="2"/></svg>');
    background-size: cover;
    color: white;
    padding: 60px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.header-content {
    max-width: 100%;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

h1:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: var(--secondary);
}

.subheadline {
    font-size: 1.5rem;
    margin: 30px auto;
    font-weight: 300;
    max-width: 800px;
    line-height: 1.8;
    position: relative;
    padding: 0 20px;
}

.divider {
    width: 100px;
    height: 3px;
    background: var(--secondary);
    margin: 25px auto;
}

/* Header Grid */
.header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    text-align: left;
}

.header-image {
    position: relative;
    border: 8px solid var(--paper);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    z-index: 1;
}

.header-image:before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--secondary);
    border-radius: 15px;
    z-index: -1;
}

.header-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.header-benefits {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(221, 184, 71, 0.3);
    position: relative;
}

.header-benefits:after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--secondary);
    border-radius: 5px;
    pointer-events: none;
}

.header-benefits h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.header-benefits ul {
    list-style: none;
    margin-bottom: 30px;
}

.header-benefits ul li {
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
    font-size: 1.1rem;
}

.header-benefits ul li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--secondary);
    font-size: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to bottom, var(--secondary), #c9a030);
    color: var(--primary);
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(142, 3, 3, 0.3);
    text-shadow: 0 1px 1px rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-button:before {
    content: "";
    position: absolute;
    top: -10px;
    left: -30px;
    width: 20px;
    height: 150%;
    background: rgba(255,255,255,0.3);
    transform: rotate(25deg);
    transition: all 0.4s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.cta-button:hover:before {
    left: 110%;
}

/* Main Content */
section {
    padding: 80px 0;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px;
    font-weight: 300;
    line-height: 1.8;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary);
}

/* Relic Section */
.relic-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.relic-info {
    padding: 20px;
    background: var(--paper);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    border: 1px solid rgba(142, 3, 3, 0.1);
}

.relic-info:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--secondary);
    border-radius: 5px;
    opacity: 0.3;
    pointer-events: none;
}

.relic-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

blockquote {
    background: rgba(221, 184, 71, 0.1);
    border-left: 4px solid var(--secondary);
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
    color: var(--dark);
    font-size: 1.2rem;
    border-radius: 0 8px 8px 0;
    position: relative;
}

blockquote:before {
    content: """;
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 4rem;
    color: rgba(221, 184, 71, 0.2);
    font-family: serif;
}

.relic-image {
    position: relative;
    border: 8px solid var(--paper);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.relic-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

/* Offer Section */
.offer-section {
    background-color: #f0e6d3;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><rect width="200" height="200" fill="%23f0e6d3"/><path d="M0,0 Q100,50 200,0 L200,200 Q100,150 0,200 Z" fill="%23e6d7bc" opacity="0.2"/></svg>');
    position: relative;
}

.offer-explanation {
    background: var(--paper);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(142, 3, 3, 0.1);
    position: relative;
}

.offer-explanation:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--secondary);
    border-radius: 5px;
    opacity: 0.3;
    pointer-events: none;
}

.offer-explanation p {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.offer-explanation ul {
    list-style: none;
}

.offer-explanation ul li {
    margin-bottom: 10px;
    padding-left: 40px;
    position: relative;
    font-size: 1.1rem;
    z-index: 2;
}

.offer-explanation ul li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--secondary);
    font-size: 1.5rem;
}

.offer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.offer-card {
    background: var(--paper);
    border-radius: 10px;
    padding: 0 0 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(142, 3, 3, 0.1);
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.offer-card.popular {
    border: 3px solid var(--secondary);
    transform: scale(1.03);
    z-index: 1;
}

.offer-card.popular:hover {
    transform: scale(1.03) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--secondary);
    color: var(--primary);
    padding: 8px 30px;
    font-weight: 700;
    font-size: 1rem;
    transform: rotate(45deg);
    width: 150px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.offer-image {
    padding: 20px;
    background: linear-gradient(to bottom, rgba(142, 3, 3, 0.1), transparent);
}

.offer-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(142, 3, 3, 0.1);
}

.offer-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    padding: 0 20px;
    font-family: 'Playfair Display', serif;
}

.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
    position: relative;
    display: inline-block;
}

.price:before, .price:after {
    content: "✧";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
    font-size: 1.5rem;
}

.price:before {
    left: -30px;
}

.price:after {
    right: -30px;
}

.offer-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    padding: 0 30px;
}

.offer-card ul li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    font-size: 1rem;
}

.offer-card ul li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--secondary);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--paper);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f4e9d8"/><path d="M0,50 Q50,30 100,50 L100,100 Q50,80 0,100 Z" fill="%23e6d7bc" opacity="0.2"/></svg>');
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(142, 3, 3, 0.1);
    position: relative;
}

.testimonial:before {
    content: """;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(142, 3, 3, 0.1);
    font-family: serif;
    line-height: 1;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.user-details p {
    color: #777;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

.relic-photo {
    height: 200px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(142, 3, 3, 0.1);
    overflow: hidden;
}

.testimonial-relic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Us Section */
.about-section {
    background: linear-gradient(rgba(142, 3, 3, 0.9), rgba(142, 3, 3, 0.9)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%238E0303"/><path d="M0,0 Q50,30 100,0 L100,100 Q50,70 0,100 Z" fill="%23a53d3d" opacity="0.2"/></svg>');
    color: white;
    text-align: center;
    position: relative;
}

.about-section h2 {
    color: white;
}

.about-section h2:after {
    background: var(--secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.about-image {
    border: 8px solid var(--paper);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.about-text {
    padding: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(221, 184, 71, 0.3);
}

.about-text p {
    margin-bottom: 20px;
}

/* Final Offer */
.final-offer {
    text-align: center;
    background: linear-gradient(to bottom, var(--light), #f0e6d3);
    padding: 60px 0;
}

.stock-alert {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 30px 0;
    text-align: center;
    position: relative;
}

footer:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
}

footer p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .header-grid {
        grid-template-columns: 1fr;
    }
    
    .relic-content {
        grid-template-columns: 1fr;
    }
    
    .header-image {
        order: -1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .subheadline {
        font-size: 1.1rem;
    }
    
    .header-benefits ul li {
        font-size: 1rem;
    }
    
    .offer-card.popular {
        transform: scale(1);
    }
    
    .offer-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .header-img,
    .relic-img {
        height: 300px;
    }
}