/* ========== RESET E VARIÁVEIS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066ff;
    --primary-dark: #0052cc;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

/* ========== DOBRA 1: HERO ========== */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    width: 100%;
    aspect-ratio: 1;
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.thumbnail {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-info h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #fbbf24;
    font-size: 18px;
    letter-spacing: 2px;
}

.review-count {
    color: var(--text-light);
    font-size: 14px;
}

.description {
    color: var(--text-light);
    font-size: 16px;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 18px;
    color: var(--text-light);
    text-decoration: line-through;
}

.benefits {
    list-style: none;
}

.benefits li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 15px;
}

.benefits li:before {
    content: "✓ ";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 8px;
}

.form-box {
    background-color: #e6f2ff;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.form-box h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.form-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-box input {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    background-color: var(--bg-white);
    transition: border-color 0.3s ease;
}

.form-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form__input {
    background: #D3D2D2;
    border: none;
    outline: none;
    font-weight: 300;
    font-size: 18px;
    letter-spacing: 0.04em;
    padding: 1em .7em;
    width: 100%;
}

.form__input::placeholder {
    color: #A6A6A6;

.btn-submit {
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
}

/* ========== DOBRA 2: INFORMAÇÕES ========== */
.info-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.info-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.info-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ========== TESTEMUNHOS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-card .stars {
    display: block;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.author-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--bg-light);
}

.testimonial-author span {
    font-weight: 600;
    font-size: 14px;
}

/* ========== DOBRA 3: PRODUTOS SIMILARES ========== */
.products-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.products-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-card h3 {
    padding: 15px 15px 5px;
    font-size: 16px;
}

.product-price {
    padding: 0 15px 15px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-details {
    width: calc(100% - 30px);
    margin: 0 15px 15px;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-details:hover {
    background-color: var(--primary-dark);
}

/* ========== DOBRA 4: FAQ ========== */
.faq-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.faq-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-item summary:hover {
    background-color: var(--bg-light);
}

.faq-item summary::after {
    content: "▼";
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    padding: 0 20px 20px;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
}

/* ========== DOBRA 5: RODAPÉ ========== */
.footer {
    background-color: #1a1a1a;
    color: #999;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* ========== POP-UP DE SAÍDA ========== */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.exit-popup.hidden {
    display: none;
}

.popup-content {
    background-color: var(--bg-white);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.popup-close:hover {
    background-color: #e0e0e0;
}

.popup-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px;
}

.popup-image img {
    width: 100%;
    border-radius: 8px;
}

.popup-text h2 {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.popup-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

.popup-text form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.popup-text input {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    background-color: var(--bg-white);
}

.popup-text input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-popup {
    padding: 12px 20px;
    background-color: var(--success-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-popup:hover {
    background-color: #16a34a;
}

.btn-no-thanks {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--text-light);
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-no-thanks:hover {
    color: var(--text-dark);
}

/* ========== RESPONSIVO ========== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-info h1 {
        font-size: 28px;
    }

    .price {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .popup-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 20px;
    }

    .info-grid,
    .testimonials-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .faq-item summary {
        padding: 15px;
    }

    .faq-item p {
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 40px 0;
    }

    .product-info h1 {
        font-size: 24px;
    }

    .price {
        font-size: 24px;
    }

    .info-section,
    .products-section,
    .faq-section {
        padding: 50px 0;
    }

    .info-section h2,
    .products-section h2,
    .faq-section h2 {
        font-size: 24px;
    }

    .popup-body {
        padding: 20px;
    }

    .popup-text h2 {
        font-size: 20px;
    }
}
