@import url('mobile.css');

/* Prima Arte - Estilos Gerais */
:root {
    --primary-gold: #D4AF37;
    --primary-pink: #E91E63;
    --primary-purple: #9C27B0;
    --primary-teal: #26C6DA;
    --primary-beige: #F5E6D3;
    --dark-brown: #5D4E37;
    --cream: #FFF8DC;
    --white: #FFFFFF;
    --gray: #6C757D;
    --font-heading: 'Caveat', cursive;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-brown);
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--cream) 100%);
}

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

/* ================================
   HEADER E NAVEGAÇÃO
   ================================ */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-gold);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-brown);
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.logo-circle i {
    color: white;
    font-size: 1.5rem;
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.logo-text .handmade {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-pink);
    font-style: italic;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-brown);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-pink));
    color: white;
}

.cart-btn {
    position: relative;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-purple));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-pink);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* ================================
   BOTÕES GERAIS
   ================================ */
.btn {
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
}

.btn-primary {
    background: white;
    color: var(--dark-brown);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--dark-brown);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary-large {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-pink));
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #E5C547, #F02E7A);
}

.btn-secondary-large {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-purple));
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(38, 198, 218, 0.3);
}

.btn-secondary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(38, 198, 218, 0.4);
    background: linear-gradient(135deg, #30D5EA, #B538C4);
}

.btn-neutral {
    background: rgba(93, 78, 55, 0.1);
    color: var(--dark-brown);
    border: 2px solid rgba(93, 78, 55, 0.2);
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.btn-neutral:hover {
    background: rgba(93, 78, 55, 0.2);
    border-color: rgba(93, 78, 55, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(93, 78, 55, 0.2);
}

.btn-upload {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    border: 2px solid rgba(212, 175, 55, 0.3);
    padding: 1rem 2rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-upload:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

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

/* ================================
   SEÇÕES E TÍTULOS GERAIS
   ================================ */
.section {
    padding: 4rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--dark-brown);
    text-align: center;
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ================================
   FORMULÁRIOS GERAIS
   ================================ */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--primary-beige);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.form-group textarea {
    resize: vertical;
    height: 100px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-gold);
    outline: none;
}

/* ================================
   ESTADOS VAZIOS
   ================================ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--gray);
    margin-bottom: 2rem;
}

/* ================================
   MENSAGENS FLASH
   ================================ */
.flash-messages {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.flash {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease;
}

.flash-success {
    background: linear-gradient(135deg, #4CAF50, #45A049);
    color: white;
}

.flash-error {
    background: linear-gradient(135deg, #F44336, #D32F2F);
    color: white;
}

.flash-info {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-purple));
    color: white;
}

.flash-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 1rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--dark-brown);
    color: var(--cream);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-pink));
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 230, 211, 0.2);
    color: rgba(245, 230, 211, 0.8);
}

/* ================================
   RESPONSIVO GERAL
   ================================ */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-large,
    .btn-secondary-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .btn-neutral {
        padding: 0.75rem 1.5rem;
    }
    
    .flash-messages {
        position: relative;
        top: auto;
        right: auto;
        max-width: none;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .logo-text .handmade {
        font-size: 1rem;
    }
}

/* ================================
   UTILITÁRIOS
   ================================ */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}