:root {
    --primary: #9137af;
    --soft: #f4eaf7;
    --surface: #fcf9fc;
    --ink: #3f2d45;
    --text: #6b6070;
    --line: rgba(92, 66, 102, .12);
    --shadow: 0 24px 70px rgba(82, 51, 93, .12);
    --shadow-soft: 0 12px 34px rgba(82, 51, 93, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    background: var(--surface);
    color: var(--text);
    line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 700; }
.brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 12%, transparent); }
.brand span { font-size: 1.05rem; }
.site-menu { display: flex; align-items: center; gap: 24px; color: color-mix(in srgb, var(--ink) 80%, white); font-weight: 600; }
.site-menu > a:not(.button):hover { color: var(--primary); }
.menu-toggle { display: none; border: 0; border-radius: 12px; padding: 10px 14px; background: var(--soft); color: var(--ink); font-weight: 700; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 18px 28px color-mix(in srgb, var(--primary) 22%, transparent);
    transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 22px 34px color-mix(in srgb, var(--primary) 28%, transparent); }
.button-small { min-height: 46px; padding: 0 22px; }
.button-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.button-light { background: #fff; color: var(--ink); box-shadow: none; }

.hero { padding: 58px 0 52px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 46px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-block; margin-bottom: 18px; letter-spacing: .18em; text-transform: uppercase; font-size: .82rem; font-weight: 800; color: var(--primary); }
h1, h2, h3 { font-family: 'Playfair Display', serif; color: var(--ink); }
h1 { font-size: clamp(2.9rem, 5.9vw, 5.4rem); line-height: .98; letter-spacing: -.035em; max-width: 580px; margin: 0 0 20px; }
.hero-text { font-size: 1.24rem; line-height: 1.68; max-width: 600px; margin: 0 0 30px; color: color-mix(in srgb, var(--ink) 63%, white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.campaign-note { display: flex; flex-direction: column; margin-top: 26px; padding-left: 16px; border-left: 3px solid var(--primary); }
.campaign-note strong { color: var(--ink); }
.campaign-note span { font-size: .92rem; color: color-mix(in srgb, var(--ink) 58%, white); }

.hero-visual { position: relative; min-height: 580px; }
.accent-wash {
    position: absolute;
    inset: 50px 60px 40px 40px;
    background:
        radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--soft) 84%, white), transparent 28%),
        radial-gradient(circle at 80% 25%, color-mix(in srgb, var(--soft) 68%, white), transparent 24%),
        radial-gradient(circle at 30% 72%, color-mix(in srgb, var(--soft) 80%, white), transparent 22%),
        linear-gradient(135deg, color-mix(in srgb, var(--surface) 80%, white), color-mix(in srgb, var(--soft) 78%, white));
    border-radius: 34px;
}
.accent-swoosh { position: absolute; right: 24px; top: 34px; width: 180px; height: 180px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--primary) 16%, transparent); }
.photo-main { position: absolute; right: 8px; top: 34px; width: min(470px, 92%); aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.photo-main img, .mini-card img, .photo-stamp img { width: 100%; height: 100%; object-fit: cover; }
.mini-card { position: absolute; left: 24px; bottom: 58px; width: min(290px, 54%); background: #fff; border-radius: 20px; padding: 10px; box-shadow: var(--shadow-soft); transform: rotate(-3.5deg); }
.mini-card .img-wrap { height: 210px; border-radius: 14px; overflow: hidden; }
.photo-stamp { position: absolute; right: 20px; bottom: 12px; width: 160px; height: 160px; background: #fff; border-radius: 18px; padding: 8px; box-shadow: var(--shadow-soft); transform: rotate(4deg); }
.photo-stamp .img-wrap { width: 100%; height: 100%; border-radius: 12px; overflow: hidden; }
.ribbon-note { position: absolute; left: 90px; top: 26px; background: rgba(255,255,255,.92); color: var(--primary); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; padding: 12px 16px; border-radius: 999px; box-shadow: 0 12px 24px rgba(82,51,93,.07); }
.hero-copy-note { position: absolute; left: 50px; bottom: 18px; background: rgba(255,255,255,.94); color: var(--ink); border-radius: 18px; padding: 18px 20px; width: min(340px, 72%); box-shadow: var(--shadow-soft); }
.hero-copy-note strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.38rem; margin-bottom: 8px; }
.hero-copy-note span { font-size: 1rem; line-height: 1.55; }

.section { padding: 54px 0; }
.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: end; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(2.55rem, 5vw, 4.7rem); line-height: 1.02; margin: 0; max-width: 780px; }
.section-head p { font-size: 1.16rem; line-height: 1.62; margin: 0 0 10px; }

.products-section { background: #fff; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 10px 24px rgba(65,47,71,.05); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 34px rgba(65,47,71,.09); }
.product-card.featured { background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--soft) 65%, white)); }
.product-image { position: relative; aspect-ratio: 5/5.3; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-image img { transform: scale(1.03); }
.tag { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 9px 14px; font-weight: 700; color: var(--ink); }
.product-body { padding: 24px 22px 26px; }
.product-body h3 { margin: 0 0 14px; font-size: 1.85rem; line-height: 1.05; }
.product-body p { min-height: 104px; margin: 0 0 18px; font-size: 1.02rem; line-height: 1.58; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; }
.product-meta span { color: color-mix(in srgb, var(--ink) 66%, white); }
.product-meta a { color: var(--primary); }
.empty-state { padding: 30px; border: 1px dashed var(--line); border-radius: 20px; text-align: center; }

.dark-panel { margin-top: 18px; border-radius: 42px; background: var(--ink); color: rgba(255,255,255,.84); overflow: hidden; }
.dark-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; }
.dark-copy { padding: 62px 56px; }
.dark-copy .eyebrow { color: color-mix(in srgb, var(--soft) 82%, white); }
.dark-panel h2 { color: #fff; font-size: clamp(2.65rem, 5vw, 4.7rem); line-height: 1.02; max-width: 620px; margin: 0 0 22px; }
.dark-copy p { font-size: 1.17rem; line-height: 1.7; margin: 0 0 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.chip { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 12px 18px; color: #fff; font-weight: 500; }
.collage { position: relative; min-height: 580px; padding: 30px; }
.collage .frame { position: absolute; border-radius: 30px; overflow: hidden; box-shadow: 0 24px 40px rgba(0,0,0,.18); }
.collage .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-one { right: 12px; top: 0; width: 62%; height: 62%; }
.frame-two { left: 0; bottom: 56px; width: 48%; height: 44%; border: 8px solid var(--ink); }
.floating-note { position: absolute; right: 20px; bottom: 20px; background: #fff; color: var(--ink); border-radius: 24px; padding: 26px 28px; width: 260px; font-family: 'Playfair Display', serif; font-size: 1.1rem; line-height: 1.35; }

.essence-section { padding: 90px 0 28px; }
.essence-card { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; align-items: stretch; background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--soft) 58%, white)); border-radius: 34px; border: 1px solid var(--line); overflow: hidden; }
.essence-photo { min-height: 430px; background: var(--soft); }
.essence-photo img { width: 100%; height: 100%; object-fit: cover; }
.essence-copy { padding: 46px 46px 46px 12px; display: flex; flex-direction: column; justify-content: center; }
.essence-copy h2 { font-size: clamp(2.4rem, 4vw, 3.9rem); line-height: 1.03; margin: 0 0 18px; }
.essence-copy > p { font-size: 1.13rem; line-height: 1.75; margin: 0; }
.points { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.point { padding: 16px 18px; background: rgba(255,255,255,.76); border: 1px solid var(--line); border-radius: 20px; }
.point strong { display: block; color: var(--ink); margin-bottom: 8px; }

.gallery-section { padding: 84px 0 34px; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 100px; gap: 18px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 26px; margin: 0; background: var(--soft); box-shadow: 0 10px 22px rgba(65,47,71,.05); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item:nth-child(4n+1) { grid-column: span 4; grid-row: span 3; }
.gallery-item:nth-child(4n+2) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(4n+3) { grid-column: span 5; grid-row: span 3; }
.gallery-item:nth-child(4n+4) { grid-column: span 4; grid-row: span 2; }
.gallery-item figcaption { position: absolute; left: 14px; bottom: 14px; padding: 10px 14px; background: rgba(255,255,255,.88); color: var(--ink); border-radius: 999px; font-weight: 700; font-size: .9rem; }

.cta-section { padding: 72px 0 108px; }
.cta-card { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 68%, var(--ink))); color: rgba(255,255,255,.84); border-radius: 38px; padding: 44px 46px; display: flex; align-items: center; justify-content: space-between; gap: 34px; box-shadow: var(--shadow); }
.cta-card h2 { color: #fff; font-size: clamp(2.35rem, 4vw, 3.9rem); line-height: 1.03; margin: 0 0 10px; }
.cta-card .eyebrow { color: rgba(255,255,255,.72); }
.cta-card p { margin: 0; font-size: 1.08rem; max-width: 720px; line-height: 1.65; }

.site-footer { background: #241d25; color: rgba(255,255,255,.72); padding: 64px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 50px; padding-bottom: 42px; }
.footer-brand img { width: 86px; height: 86px; border-radius: 50%; margin-bottom: 15px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid strong { color: #fff; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }

@media (max-width: 1080px) {
    .hero-grid, .section-head, .dark-grid, .essence-card { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-visual { min-height: 560px; }
    .essence-copy { padding: 42px; }
    .cta-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 28px, 1180px); }
    .menu-toggle { display: block; }
    .site-menu { display: none; position: absolute; left: 14px; right: 14px; top: 72px; padding: 18px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
    .site-menu.open { display: flex; }
    .hero { padding-top: 36px; }
    h1 { font-size: 3.05rem; }
    .hero-text { font-size: 1.08rem; }
    .hero-visual { min-height: 470px; }
    .accent-wash { inset: 36px 12px 36px 18px; }
    .photo-main { width: 86%; right: 0; top: 26px; }
    .mini-card { left: 0; bottom: 62px; width: 55%; }
    .mini-card .img-wrap { height: 150px; }
    .photo-stamp { width: 118px; height: 118px; right: 10px; bottom: 6px; }
    .ribbon-note { left: 20px; top: 12px; }
    .hero-copy-note { left: 8px; bottom: 0; width: 72%; padding: 14px 16px; }
    .hero-copy-note strong { font-size: 1.08rem; }
    .section { padding: 42px 0; }
    .products-grid { grid-template-columns: 1fr; }
    .product-body p { min-height: auto; }
    .dark-panel { border-radius: 28px; }
    .dark-copy { padding: 40px 26px 20px; }
    .collage { min-height: 450px; }
    .frame-one { width: 74%; }
    .frame-two { width: 56%; }
    .floating-note { width: 210px; padding: 20px; }
    .essence-section { padding-top: 64px; }
    .essence-copy { padding: 34px 24px; }
    .points { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
    .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
    .cta-card { padding: 34px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; }
}

/* V2 — composição aprovada e correções */
.hero-visual { min-height: 680px; display: flex; flex-direction: column; justify-content: flex-start; }
.hero-art { position: relative; min-height: 575px; }
.hero-copy-note { position: relative; left: auto; bottom: auto; width: calc(100% - 70px); margin: -4px 20px 0 50px; z-index: 8; background: color-mix(in srgb, var(--soft) 55%, white); border: 1px solid var(--line); box-shadow: none; }
.hero-copy-note strong { color: var(--ink); }
.product-card-link { display: block; height: 100%; }
.product-meta strong { color: var(--primary); }
.essence-copy blockquote { margin: 22px 0 0; padding: 16px 18px; border-left: 4px solid var(--primary); background: rgba(255,255,255,.68); border-radius: 0 16px 16px 0; font-family: 'Playfair Display', serif; color: var(--ink); font-size: 1.12rem; }
.cta-whatsapp { min-width: 250px; white-space: nowrap; text-align: center; justify-content: center; line-height: 1.15; }

/* Página interna do produto */
.product-page { padding: 70px 0 100px; }
.product-hero { display: grid; grid-template-columns: 1fr .8fr; gap: 54px; align-items: center; padding: 42px; border-radius: 34px; background: linear-gradient(135deg,#fff,var(--soft)); border: 1px solid var(--line); }
.product-hero h1 { margin: 0 0 18px; font-size: clamp(3rem,6vw,5.8rem); line-height: .98; }
.product-hero p { font-size: 1.18rem; line-height: 1.7; }
.product-hero > img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.product-price { display: inline-block; margin-top: 8px; color: var(--primary); font-size: 1.15rem; }
.variants-section { padding-top: 70px; }
.variants-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.variant-card { overflow: hidden; background:#fff; border:1px solid var(--line); border-radius:28px; box-shadow:0 12px 28px rgba(65,47,71,.06); }
.variant-main-image { width:100%; aspect-ratio:16/10; object-fit:cover; }
.variant-copy { padding:26px; }
.variant-copy h3 { margin:0 0 10px; font-size:2rem; }
.variant-copy p { line-height:1.65; }
.variant-copy strong { display:block; color:var(--primary); margin:16px 0; }
.variant-gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding:0 22px 24px; }
.variant-gallery figure { margin:0; }
.variant-gallery img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:14px; }
.variant-gallery figcaption { font-size:.76rem; padding-top:6px; }

@media(max-width:1080px){.hero-visual{min-height:660px}.product-hero{grid-template-columns:1fr}.variants-grid{grid-template-columns:1fr}}
@media(max-width:760px){.hero-art{min-height:470px}.hero-visual{min-height:610px}.hero-copy-note{width:calc(100% - 16px);margin:8px}.cta-whatsapp{min-width:100%;white-space:normal}.product-page{padding-top:36px}.product-hero{padding:24px}.variant-gallery{grid-template-columns:repeat(2,1fr)}}

@media(max-width:760px){.hero-copy-note{left:auto;bottom:auto}}
