/*
Theme Name: Marta Meireles Boutique
Theme URI: https://martameireles.boutique
Author: Marta Meireles
Author URI: https://martameireles.boutique
Description: Tema elegante para boutique de moda feminina evangélica
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marta-meireles
*/

/* ========================================
   VARIÁVEIS CSS
   ======================================== */
:root {
    --color-pearl: #FAF8F5;
    --color-pearl-light: #FFFEF9;
    --color-champagne: #F5E6D3;
    --color-champagne-dark: #E8D4C0;
    --color-baby-pink: #F5C6D0;
    --color-baby-pink-light: #FADCE3;
    --color-baby-pink-dark: #E8A8B8;
    --color-text-dark: #2C2420;
    --color-text-muted: #6B5B4F;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', Arial, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
}

/* ========================================
   RESET E BASE
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-pearl);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

a {
    color: var(--color-baby-pink-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-baby-pink);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ========================================
   HEADER
   ======================================== */
.site-header {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-champagne);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-text-dark);
}

.site-logo span {
    color: var(--color-baby-pink);
}

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

.main-navigation a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--color-baby-pink);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(250, 248, 245, 0.3),
        rgba(250, 248, 245, 0.7)
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    padding: 2rem;
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-baby-pink-dark);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   BOTÕES
   ======================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-baby-pink), var(--color-baby-pink-light));
    color: white;
    box-shadow: 0 4px 20px rgba(245, 198, 208, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(245, 198, 208, 0.5);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-dark);
    border: 2px solid var(--color-champagne-dark);
}

.btn-secondary:hover {
    background: var(--color-champagne);
    border-color: var(--color-baby-pink);
}

/* ========================================
   PRODUTOS
   ======================================== */
.products-section {
    padding: 5rem 0;
    background: var(--color-pearl-light);
}

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

.section-subtitle {
    font-family: var(--font-accent);
    font-size: 1rem;
    font-style: italic;
    color: var(--color-baby-pink-dark);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

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

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

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(107, 91, 79, 0.08);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(107, 91, 79, 0.15);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.375rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.badge-new {
    background: var(--color-baby-pink);
    color: white;
}

.badge-sale {
    background: var(--color-baby-pink-dark);
    color: white;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.product-category {
    font-family: var(--font-accent);
    font-size: 0.875rem;
    font-style: italic;
    color: var(--color-baby-pink-dark);
    margin-bottom: 0.75rem;
}

.product-price {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.product-price-original {
    text-decoration: line-through;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-right: 0.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: linear-gradient(to bottom, var(--color-champagne), var(--color-pearl));
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-champagne-dark);
}

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

.footer-brand .site-logo {
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-baby-pink);
}

.footer-contact p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-champagne-dark);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ========================================
   WOOCOMMERCE OVERRIDES
   ======================================== */
.woocommerce ul.products li.product a img {
    border-radius: 12px;
}

.woocommerce ul.products li.product .price {
    font-family: var(--font-body);
    color: var(--color-text-dark);
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: linear-gradient(135deg, var(--color-baby-pink), var(--color-baby-pink-light)) !important;
    color: white !important;
    border-radius: 0 !important;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 1.5rem !important;
    border: none !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--color-baby-pink-dark) !important;
}

.woocommerce .woocommerce-message {
    border-top-color: var(--color-baby-pink);
}

.woocommerce .woocommerce-message::before {
    color: var(--color-baby-pink);
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 768px) {
    h1, .hero-title { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    
    .main-navigation {
        display: none;
    }
    
    .hero-section {
        min-height: 500px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
