/* Reset e Variáveis CSS */
:root {
    --primary-color: #FF6B35;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --dark-blue: #1A535C;
    --light-bg: #F7F7F7;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 1.5rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.logo {
    max-height: 60px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.language-badge {
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    backdrop-filter: blur(10px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    background-image: url('AscendedHeroes-EN/LogoHero.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 25%;
    padding: 4rem 0;
    text-align: left;
    color: var(--text-dark);
    position: relative;
}

.hero .container {
    max-width: 65%;
    padding-left: 2rem;
}

.hero-language-notice {
    margin-bottom: 1.5rem;
}

.language-notice-badge {
    display: inline-block;
    background: var(--dark-blue);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.hero-description {
    font-size: 1rem;
    font-style: italic;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-blue);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Products Section */
.products {
    padding: 4rem 0;
    background-color: var(--white);
    background-image: url('AscendedHeroes-EN/Imagemfundo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 0;
}

.products .container {
    position: relative;
    z-index: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

/* Multi-images container para Mini Tin - Carrossel */
.product-multi-images {
    padding: 0;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 1rem;
}

.carousel-btn-next {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--white);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .product-multi-images {
        height: 350px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .carousel-btn-prev {
        left: 0.5rem;
    }
    
    .carousel-btn-next {
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .product-multi-images {
        height: 300px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.product-language-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-name {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.product-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-description {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.product-description ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.product-description li {
    margin-bottom: 0.5rem;
}

.btn-order {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: auto;
}

.btn-order:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-order:active {
    transform: scale(0.98);
}

/* Order Form Section */
.order-form-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.order-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

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

.products-selection {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.form-language-note {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: normal;
    font-style: italic;
}

.product-selection-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--light-bg);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    gap: 1rem;
    transition: var(--transition);
}

.product-selection-item:hover {
    background: #E8E8E8;
}

.checkbox-label {
    display: flex;
    align-items: center;
    flex-grow: 1;
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.quantity-selector label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.quantity-input-form {
    width: 70px;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.quantity-input-form:disabled {
    background: #E0E0E0;
    cursor: not-allowed;
    opacity: 0.6;
}

.quantity-input-form:enabled {
    border-color: var(--primary-color);
}

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

.quantity-input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    margin-left: 1rem;
    text-align: center;
}

.total-price {
    padding: 1rem;
    background: var(--accent-color);
    border-radius: 8px;
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-top: 1rem;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
    color: var(--white);
    border: none;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 83, 92, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.success-message {
    max-width: 700px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: #4CAF50;
    color: var(--white);
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    animation: slideIn 0.5s ease;
}

.success-message p {
    margin: 0.5rem 0;
}

/* Modal WhatsApp */
.whatsapp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.whatsapp-modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    text-align: center;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.whatsapp-modal-content h3 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.whatsapp-modal-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.whatsapp-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp-sim,
.btn-whatsapp-nao {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    min-width: 150px;
}

.btn-whatsapp-sim {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
}

.btn-whatsapp-sim:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-nao {
    background: var(--light-bg);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-whatsapp-nao:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: var(--light-bg);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

/* Phases Navigation */
.phases-navigation {
    background: var(--light-bg);
    padding: 2rem 0;
    border-bottom: 2px solid var(--border-color);
}

.phases-nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-phase-nav {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-all-phases {
    background: var(--dark-blue);
    color: var(--white);
}

.btn-all-phases:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-prev-phase {
    background: var(--white);
    color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-prev-phase:hover {
    background: var(--dark-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-next-phase {
    background: var(--primary-color);
    color: var(--white);
}

.btn-next-phase:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Collection Card Link */
.collection-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
}

.collection-card-link:hover {
    transform: translateY(-5px);
}

.collection-card-link .btn-order {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .order-form {
        padding: 1.5rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo {
        max-height: 50px;
    }

    .language-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .language-notice-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .product-selection-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .quantity-selector {
        width: 100%;
        justify-content: space-between;
    }

    .quantity-input-form {
        width: 100px;
    }
}

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

    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .products {
        padding: 2rem 0;
    }

    .order-form-section {
        padding: 2rem 0;
    }

    .language-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .language-notice-badge {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }

    .product-language-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
        top: 0.5rem;
        right: 0.5rem;
    }

    .header-text {
        gap: 0.3rem;
    }

    .phases-nav-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-phase-nav {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
}

/* Estilos para contadores de estoque */
.product-stock-info {
    margin: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-stock-counter {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4CAF50;
    padding: 0.25rem 0.75rem;
    background-color: #E8F5E9;
    border-radius: 6px;
    display: inline-block;
}

.product-stock-counter.out-of-stock {
    color: #f44336;
    background-color: #FFEBEE;
}

.product-status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background-color: #f44336;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-status-badge.out-of-stock-badge {
    background-color: #f44336;
}

.product-status-badge.preorder-badge {
    background-color: #FF6B35;
    color: white;
}

.variant-stock-counter {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    margin-left: 0.5rem;
}

.variant-stock-counter.out-of-stock {
    color: #f44336;
    font-weight: 700;
}

.product-general-counter {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4CAF50;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: #E8F5E9;
    border-radius: 6px;
    display: inline-block;
}

.product-stock-counter-form {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    margin-left: 0.5rem;
}

.product-stock-counter-form.out-of-stock {
    color: #f44336;
    font-weight: 700;
}

