* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0149ce 0%, #2a5298 50%, #1e3c72 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

/* Logo no canto superior esquerdo */
.logo-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-fifa {
    position: absolute;
    left: auto;
    right: 20px;
    top: 20px;
    z-index: 100;
}

.logo {
    max-width: 180px;
    height: auto;
    display: block;
    max-height: 70px;
    width: auto;
    object-fit: contain;
    flex-shrink: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    overflow-x: hidden;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 50px;
    padding: 30px 20px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Seção de Vídeo Promocional */
.video-section {
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-title {
    text-align: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.video-instructions {
    text-align: center;
    color: white;
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.video-instructions strong {
    color: #ffd700;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.8) 0%, rgba(42, 82, 152, 0.8) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive para vídeo */
@media (max-width: 768px) {
    .video-section {
        padding: 20px;
    }

    .video-title {
        font-size: 1.5rem;
    }

    .video-instructions {
        font-size: 0.85rem;
        padding: 12px;
    }
}

/* Seção de Descrição do Produto */
.product-info-section {
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-info-title {
    color: #1e3c72;
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.product-info-content {
    max-width: 800px;
    margin: 0 auto;
}

.product-info-content p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.product-info-ficha {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid #1e3c72;
}

.product-info-ficha h3 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.product-info-ficha p {
    margin-bottom: 0;
    color: #555;
}

@media (max-width: 768px) {
    .product-info-section {
        padding: 25px;
    }

    .product-info-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .product-info-content p {
        font-size: 0.95rem;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.product-card.featured {
    border: 3px solid #ffd700;
    transform: scale(1.05);
}

.product-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #ffd700;
    color: #1e3c72;
    padding: 5px 40px;
    font-weight: bold;
    font-size: 0.9rem;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.product-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    overflow: hidden;
}

.product-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon img {
    transform: scale(1.05);
}

.product-card h2 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.product-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    min-height: 50px;
}

.price {
    font-size: 2rem;
    color: #1e3c72;
    font-weight: bold;
    margin-bottom: 25px;
}

.price-value {
    color: #2a5298;
}

.btn-buy {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.btn-buy:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    transform: scale(1.05);
    box-shadow: 0 7px 20px rgba(30, 60, 114, 0.4);
}

.btn-buy:active {
    transform: scale(0.98);
}

/* Footer */
.site-footer {
    margin-top: 50px;
    padding: 25px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
}

.site-footer p {
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .site-footer {
        margin-top: 35px;
        padding: 20px 15px;
        font-size: 0.85rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background-color: white;
    margin: 20px auto;
    padding: 30px;
    border-radius: 15px;
    max-width: 700px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

.close:hover {
    color: #000;
}

.modal-content h2 {
    color: #1e3c72;
    margin-bottom: 10px;
    margin-right: 40px;
}

.selected-product {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: bold;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2a5298;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-cancel {
    background: #ccc;
    color: #333;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-cancel:hover {
    background: #bbb;
}

.btn-submit {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(30, 60, 114, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .logo-container {
        top: 10px;
        left: 5px;
        padding: 6px 8px;
        max-width: calc(50% - 8px);
        min-width: 0;
    }

    .logo-fifa {
        right: 5px;
        left: auto;
        max-width: calc(50% - 8px);
        min-width: 0;
    }

    .logo {
        max-width: 100%;
        max-height: 45px;
        width: auto;
        height: auto;
    }

    header {
        margin-top: 80px;
        padding: 20px 10px;
    }

    .product-icon {
        height: 150px;
    }

    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card.featured {
        transform: scale(1);
    }

    .product-card.featured:hover {
        transform: translateY(-10px);
    }

    .product-card {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 20px;
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .logo-container {
        top: 8px;
        left: 3px;
        padding: 5px 6px;
        max-width: calc(50% - 6px);
    }

    .logo-fifa {
        right: 3px;
        max-width: calc(50% - 6px);
    }

    .logo {
        max-height: 40px;
    }

    header {
        margin-top: 70px;
        padding: 15px 5px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .video-section {
        padding: 10px;
    }

    .product-info-section {
        padding: 15px;
    }

    .product-info-title {
        font-size: 1.1rem;
    }
}
