/*
Theme Name: Petalume
Theme URI: https://petalume.com.br
Author: Petalume
Author URI: https://petalume.com.br
Description: Tema artesanal delicado para a Petalume — criações feitas à mão, guardadas no coração.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
License URI: https://petalume.com.br
Text Domain: petalume
Tags: handmade, artisan, elegant, floral, e-commerce
*/

/* ============================================================
   VARIÁVEIS CSS — PALETA PETALUME
   ============================================================ */
:root {
    --rose:          #C27B6B;
    --rose-dark:     #9E5C4D;
    --rose-light:    #E9CFC3;
    --rose-pale:     #F5EAE4;
    --mint:          #8BAF90;
    --mint-light:    #CDE8D2;
    --cream:         #FDF6F0;
    --gold:          #C9A35A;
    --gold-light:    #F5D6A0;
    --text-dark:     #5A3E35;
    --text-mid:      #8B6B5E;
    --text-light:    #B89890;
    --white:         #FFFFFF;

    --font-script:   'Alex Brush', cursive;
    --font-serif:    'Cormorant Garamond', serif;

    --shadow-soft:   0 8px 32px rgba(194,123,107,0.10);
    --shadow-hover:  0 16px 48px rgba(194,123,107,0.18);
    --radius-sm:     4px;
    --radius-md:     8px;
    --radius-full:   100px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-serif);
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--rose-dark);
}

ul, ol {
    list-style: none;
}

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
}

.title-script {
    font-family: var(--font-script);
    font-weight: 400;
    color: var(--rose);
}

.title-serif {
    font-family: var(--font-serif);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.label-caps {
    font-family: var(--font-serif);
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--mint);
    font-weight: 400;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 0.85rem 2.2rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--rose);
    border: 1px solid var(--rose-light);
}

.btn-outline:hover {
    background: var(--rose-pale);
    color: var(--rose-dark);
}

.btn-white {
    background: var(--white);
    color: var(--rose);
}

.btn-white:hover {
    background: var(--cream);
    color: var(--rose-dark);
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

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

.section-header .label-caps {
    display: block;
    margin-bottom: 0.75rem;
}

.section-header .title-script {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header .subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 300;
}

.divider-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.divider-heart::before,
.divider-heart::after {
    content: '';
    width: 50px;
    height: 1px;
    background: var(--rose-light);
}

.divider-heart span {
    color: var(--rose);
    font-size: 0.7rem;
}

/* ============================================================
   HEADER / NAVEGAÇÃO
   ============================================================ */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(253,246,240,0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rose-light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo a {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--rose);
    text-decoration: none;
    line-height: 1;
}

.primary-nav ul {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.primary-nav a {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-mid);
    text-decoration: none;
    transition: color 0.3s;
}

.primary-nav a:hover {
    color: var(--rose);
}

.header-cta .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--rose);
    transition: all 0.3s;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(160deg, var(--cream) 0%, var(--rose-pale) 55%, #EDE0D9 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--rose-light);
    opacity: 0.2;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--mint-light);
    opacity: 0.25;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-script);
    font-size: 7rem;
    color: var(--rose);
    line-height: 0.95;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 0.5rem;
}

.hero-description {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-mid);
    line-height: 1.9;
    margin: 1.5rem 0 2.5rem;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   PRODUTOS / CARDS
   ============================================================ */
#produtos {
    background: var(--white);
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
}

.produto-card {
    background: var(--white);
    border: 1px solid var(--rose-light);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.produto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rose-light), var(--gold-light), var(--mint-light));
}

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

.produto-icon {
    width: 64px;
    height: 64px;
    background: var(--rose-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.produto-card h3 {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.produto-card p {
    font-size: 0.97rem;
    color: var(--text-mid);
    font-style: italic;
    line-height: 1.8;
}

/* ============================================================
   SOBRE
   ============================================================ */
#sobre {
    background: var(--rose-pale);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.sobre-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--rose-light);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    padding: 2rem;
}

.logo-circle .logo-name {
    font-family: var(--font-script);
    font-size: 3.2rem;
    color: var(--rose);
    line-height: 1;
}

.logo-circle .logo-tag {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--mint);
}

.sobre-text h2 {
    font-family: var(--font-script);
    font-size: 3.5rem;
    color: var(--rose);
    margin-bottom: 1.5rem;
}

.sobre-text p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-mid);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.valores-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.valor-tag {
    background: var(--white);
    border: 1px solid var(--rose-light);
    color: var(--rose);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
#depoimentos {
    background: var(--white);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.depoimento-card {
    background: var(--cream);
    border-left: 3px solid var(--rose-light);
    padding: 2rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    transition: box-shadow 0.3s;
}

.depoimento-card:hover {
    box-shadow: var(--shadow-soft);
}

.depo-stars {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.depo-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

.depo-author {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rose);
    font-weight: 500;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
#cta {
    background: var(--rose);
    padding: 5rem 2rem;
    text-align: center;
}

#cta h2 {
    font-family: var(--font-script);
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

#cta p {
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
}

/* ============================================================
   GALERIA
   ============================================================ */
#galeria {
    background: var(--cream);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.galeria-item {
    aspect-ratio: 1;
    background: var(--rose-pale);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeria-item:hover img {
    transform: scale(1.05);
}

/* ============================================================
   RODAPÉ
   ============================================================ */
#site-footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.6);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    font-family: var(--font-script);
    font-size: 2.8rem;
    color: var(--rose-light);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(255,255,255,0.45);
    line-height: 1.8;
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--rose-light);
}

.footer-bottom {
    max-width: 1100px;
    margin: 2rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.1em;
}

/* ============================================================
   WOOCOMMERCE — overrides básicos
   ============================================================ */
.woocommerce .products .product {
    font-family: var(--font-serif);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--rose) !important;
    color: var(--white) !important;
    font-family: var(--font-serif);
    letter-spacing: 0.15em;
    border-radius: var(--radius-sm);
    transition: background 0.3s;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--rose-dark) !important;
    color: var(--white) !important;
}

.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
    color: var(--gold) !important;
}

.woocommerce-product-gallery__image {
    border-radius: var(--radius-md);
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 900px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .sobre-visual { display: none; }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title { font-size: 4.5rem; }
    .primary-nav { display: none; }
    .primary-nav.is-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--rose-light);
        box-shadow: var(--shadow-soft);
    }
    .primary-nav.is-open ul {
        flex-direction: column;
        gap: 1rem;
    }
    .menu-toggle { display: flex; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .galeria-grid { grid-template-columns: repeat(2, 1fr); }
    .section-header .title-script { font-size: 2.5rem; }
    #cta h2 { font-size: 3rem; }
}

/* ============================================================
   WC CONTENT WRAPPER — gerado pelos hooks no functions.php
   ============================================================ */
.wc-content-inner {
    width: 100%;
}
