/*
Theme Name: LUGA'D PARFAM
Theme URI: https://lugadparfam.com.br/
Author: LUGA'D PARFAM
Description: Catálogo editorial de perfumes para WordPress. Atendimento por WhatsApp em Natal/RN; sem carrinho ou checkout.
Version: 1.0.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: lugad-parfam
*/

:root {
  --canvas: #f7f3ee;
  --surface: #fffdf9;
  --surface-muted: #eee5db;
  --ink: #202422;
  --muted: #756f68;
  --line: #ded4ca;
  --accent: #b86f45;
  --accent-dark: #8b4d30;
  --olive: #596252;
  --night: #181a18;
  --whatsapp: #25d366;
  --shadow: 0 18px 48px rgba(70, 48, 33, .10);
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
html.lugad-loading { cursor: progress; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 1000; top: 10px; left: 10px; width: auto; height: auto; padding: 10px 14px; margin: 0; clip: auto; color: #fff; background: var(--night); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,249,.96); border-bottom: 1px solid var(--line); box-shadow: 0 8px 30px rgba(70,48,33,.06); backdrop-filter: blur(14px); }
.header-inner { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(280px, 520px); align-items: center; gap: 2rem; max-width: 1360px; margin: 0 auto; padding: 1rem 2.5rem .85rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; color: var(--ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-wordmark { font-family: var(--font-serif); font-size: 1.18rem; font-weight: 800; letter-spacing: .07em; }
.brand-submark { margin-top: .24rem; color: var(--accent-dark); font-size: .52rem; font-weight: 800; letter-spacing: .43em; }
.catalog-search { display: flex; align-items: center; gap: .6rem; padding: .66rem .9rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.catalog-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .83rem; }
.catalog-search input::placeholder { color: #a39a91; }
.catalog-search button { padding: 0; border: 0; color: var(--accent-dark); background: transparent; }
.site-nav { border-top: 1px solid rgba(222,212,202,.65); }
.nav-inner { display: flex; align-items: center; justify-content: center; gap: .55rem; max-width: 1360px; margin: 0 auto; padding: .55rem 2.5rem; overflow-x: auto; }
.nav-inner ul { display: flex; align-items: center; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.nav-inner li { margin: 0; padding: 0; }
.nav-inner a { padding: .37rem .72rem; border-radius: 999px; color: var(--muted); font-size: .68rem; font-weight: 800; text-decoration: none; letter-spacing: .05em; white-space: nowrap; }
.nav-inner a:hover, .nav-inner a:focus-visible, .nav-inner a[aria-current="page"] { color: var(--accent-dark); background: var(--surface-muted); }

.container { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.main-content { overflow: hidden; }
.eyebrow { display: inline-block; color: var(--accent-dark); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; }
.hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr); align-items: center; gap: clamp(2rem, 6vw, 7rem); min-height: 540px; padding: 4.5rem 0 4rem; }
.hero h1 { max-width: 640px; margin: .55rem 0 1.1rem; font-family: var(--font-serif); font-size: clamp(2.4rem, 5.8vw, 5.4rem); font-weight: 700; line-height: .99; letter-spacing: -.05em; }
.hero h1 em { color: var(--accent-dark); font-style: normal; }
.hero-description { max-width: 530px; margin: 0; color: var(--muted); font-size: clamp(.91rem, 1.5vw, 1.05rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 42px; padding: .72rem 1rem; border: 1px solid transparent; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--ink); border-color: var(--ink); }
.button-primary:hover, .button-primary:focus-visible { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); }
.button-outline { color: var(--ink); background: transparent; border-color: var(--line); }
.button-outline:hover, .button-outline:focus-visible { background: var(--surface); border-color: var(--accent); }
.hero-note { display: block; margin-top: 1rem; color: var(--muted); font-size: .72rem; }
.hero-art { position: relative; min-height: 390px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, #eee3d8, #d7c0ad 52%, #b38a70); box-shadow: var(--shadow); }
.hero-art::before { content: ''; position: absolute; inset: 14% 14% 18%; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; transform: rotate(-18deg); }
.hero-art::after { content: 'LUGA’D / PERFUMES'; position: absolute; right: 1.15rem; bottom: 1rem; color: rgba(49,36,27,.5); font-size: .58rem; font-weight: 800; letter-spacing: .18em; }
.hero-shelf { position: absolute; right: 0; bottom: 16%; left: 0; height: 2px; background: rgba(62,41,30,.38); box-shadow: 0 12px 0 rgba(62,41,30,.08); }
.hero-bottle { position: absolute; bottom: 16%; display: grid; place-items: center; border: 1px solid rgba(62,41,30,.42); box-shadow: 10px 16px 24px rgba(58,39,27,.22); color: rgba(56,40,30,.78); font-size: .46rem; font-weight: 800; letter-spacing: .12em; }
.hero-bottle::before { content: ''; position: absolute; top: -17px; width: 34%; height: 19px; border: 1px solid rgba(62,41,30,.4); border-bottom: 0; background: rgba(90,60,45,.3); }
.hero-bottle.a { left: 16%; width: 100px; height: 160px; background: linear-gradient(100deg, rgba(254,242,224,.7), rgba(193,128,87,.85)); }
.hero-bottle.b { left: 42%; width: 124px; height: 205px; background: linear-gradient(105deg, rgba(246,219,189,.8), rgba(130,75,45,.84)); }
.hero-bottle.c { left: 69%; width: 82px; height: 130px; background: linear-gradient(105deg, rgba(245,235,204,.8), rgba(167,137,75,.86)); }
.hero-bottle.d { display: none; }
.hero-seal { position: absolute; top: 12%; right: 9%; display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid rgba(77,52,40,.5); border-radius: 50%; color: #704936; font-family: var(--font-serif); font-size: .53rem; line-height: 1.35; text-align: center; letter-spacing: .08em; transform: rotate(12deg); }

.section { padding: 4rem 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.6rem; }
.section-heading h2, .catalog-top h2 { margin: .35rem 0 0; font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 3.1rem); font-weight: 600; line-height: 1.05; letter-spacing: -.05em; }
.section-heading p, .catalog-top p { max-width: 390px; margin: 0; color: var(--muted); font-size: .82rem; }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.category-link { display: block; color: var(--ink); text-align: center; text-decoration: none; }
.category-image { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-muted); transition: transform .25s ease, box-shadow .25s ease; }
.category-image img { width: 100%; height: 100%; object-fit: cover; }
.category-link:hover .category-image, .category-link:focus-visible .category-image { transform: translateY(-5px); box-shadow: 0 14px 24px rgba(91,56,38,.14); }
.category-link span { display: block; margin-top: .72rem; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.service-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 1rem 0 4.5rem; border: 1px solid var(--line); background: var(--line); }
.service-item { display: flex; align-items: flex-start; gap: .75rem; min-height: 80px; padding: 1.1rem; background: var(--surface); }
.service-item svg { flex: 0 0 auto; color: var(--accent-dark); }
.service-item strong, .service-item span { display: block; }
.service-item strong { font-size: .72rem; }
.service-item span { margin-top: .17rem; color: var(--muted); font-size: .68rem; }

.catalog-section { scroll-margin-top: 140px; padding: 1rem 0 5rem; }
.catalog-rule { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; color: var(--accent-dark); font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.catalog-rule::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.catalog-top { display: flex; align-items: end; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.5rem; }
.catalog-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: 1.2rem; }
.filter-link { padding: .52rem .78rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; font-size: .68rem; font-weight: 800; text-decoration: none; }
.filter-link:hover, .filter-link:focus-visible, .filter-link.is-active { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.product-card { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: .8rem; border: 1px solid var(--line); background: var(--surface); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { transform: translateY(-5px); border-color: #bd987e; box-shadow: 0 18px 34px rgba(82,53,37,.12); }
.product-media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.08; overflow: hidden; background: linear-gradient(145deg, #f5eee7, #e9d9cb); }
.product-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-media .fallback-logo { width: 64px; height: 64px; opacity: .7; object-fit: contain; }
.product-badge { position: absolute; top: .55rem; left: .55rem; padding: .28rem .42rem; color: var(--accent-dark); background: rgba(255,253,249,.9); font-size: .54rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-body { padding: .78rem .15rem .2rem; }
.product-brand { color: var(--accent-dark); font-size: .61rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.product-title { min-height: 2.65em; margin: .32rem 0 .45rem; font-family: var(--font-serif); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.product-title a { text-decoration: none; }
.product-title a:hover { color: var(--accent-dark); }
.product-inspired { min-height: 2.8em; color: var(--muted); font-size: .67rem; line-height: 1.45; }
.product-inspired strong { color: var(--ink); font-weight: 700; }
.product-footer { display: flex; align-items: end; justify-content: space-between; gap: .55rem; padding: .72rem .15rem .15rem; border-top: 1px solid var(--surface-muted); }
.product-price small, .product-price strong { display: block; }
.product-price small { color: var(--muted); font-size: .57rem; text-transform: uppercase; letter-spacing: .08em; }
.product-price strong { margin-top: .14rem; color: var(--sale, #9b4934); font-size: .95rem; }
.product-price del { display: block; color: var(--muted); font-size: .61rem; }
.card-consult { flex: 0 0 auto; padding: .48rem .58rem; border: 1px solid var(--ink); border-radius: 999px; color: #fff; background: var(--ink); font-size: .61rem; font-weight: 800; text-decoration: none; text-align: center; }
.card-consult:hover, .card-consult:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); }
.empty-state { grid-column: 1 / -1; padding: 3rem 1rem; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2rem; }
.pagination .page-numbers { padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .72rem; }
.pagination .current, .pagination .page-numbers:hover { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); }

.catalog-notice { display: flex; align-items: flex-start; gap: .7rem; margin: 1.25rem 0 0; padding: .8rem 1rem; border-left: 3px solid var(--accent); color: var(--muted); background: rgba(255,253,249,.62); font-size: .72rem; }
.catalog-notice svg { flex: 0 0 auto; color: var(--accent-dark); }
.single-product { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 6rem); padding: 5rem 0; }
.single-media { display: grid; place-items: center; min-height: 520px; padding: 2rem; border: 1px solid var(--line); background: linear-gradient(145deg, #f5eee7, #e3cdbb); }
.single-media img { width: 100%; height: 100%; max-height: 470px; object-fit: contain; mix-blend-mode: multiply; }
.single-copy h1 { margin: .45rem 0 .9rem; font-family: var(--font-serif); font-size: clamp(2.1rem, 4.8vw, 4rem); font-weight: 600; line-height: 1.04; letter-spacing: -.05em; }
.single-copy .lead { max-width: 600px; color: var(--muted); }
.single-price { margin: 1.7rem 0 1.2rem; }
.single-price small { display: block; color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; }
.single-price strong { display: block; margin-top: .2rem; color: var(--sale, #9b4934); font-size: 1.55rem; }
.single-price del { color: var(--muted); font-size: .72rem; }
.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 2rem 0; }
.note-box { padding: .9rem; border-top: 1px solid var(--accent); background: rgba(255,253,249,.58); }
.note-box strong { display: block; color: var(--accent-dark); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.note-box span { display: block; margin-top: .35rem; color: var(--muted); font-size: .75rem; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .72rem; font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--accent-dark); }

.site-footer { padding: 3rem 0; color: #d5ccc3; background: var(--night); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 2rem; }
.footer-brand { color: #fff; }
.site-footer h2 { margin: 0 0 .7rem; color: #fff; font-family: var(--font-serif); font-size: 1rem; }
.site-footer p { margin: 0; color: #b6aca2; font-size: .74rem; }
.footer-links { display: grid; gap: .4rem; align-content: start; }
.footer-links a { color: #d5ccc3; font-size: .74rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.14); color: #91877e; font-size: .65rem; }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; color: #fff; background: var(--whatsapp); border-radius: 50%; box-shadow: 0 9px 24px rgba(37,211,102,.34); text-decoration: none; }
.floating-whatsapp:hover, .floating-whatsapp:focus-visible { color: #fff; transform: translateY(-3px); }

@media (max-width: 1000px) {
  .header-inner { grid-template-columns: minmax(170px, 1fr) auto; }
  .catalog-search { grid-column: 1 / -1; grid-row: 2; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 360px; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 2rem, 580px); }
  .header-inner { gap: .7rem; padding: .75rem 1rem .7rem; }
  .brand-wordmark { font-size: 1rem; }
  .nav-inner { justify-content: flex-start; padding-inline: 1rem; }
  .hero { min-height: auto; padding: 3rem 0 2.5rem; }
  .hero h1 { font-size: clamp(2.25rem, 12vw, 3.7rem); }
  .hero-art { min-height: 290px; }
  .hero-bottle.a { left: 12%; width: 74px; height: 120px; }
  .hero-bottle.b { left: 41%; width: 92px; height: 155px; }
  .hero-bottle.c { left: 72%; width: 62px; height: 100px; }
  .section { padding: 2.8rem 0; }
  .section-heading, .catalog-top { display: block; }
  .section-heading p, .catalog-top p { margin-top: .75rem; }
  .category-grid { grid-template-columns: repeat(5, minmax(82px, 1fr)); gap: .65rem; overflow-x: auto; padding-bottom: .3rem; }
  .category-link { min-width: 82px; }
  .category-link span { font-size: .63rem; }
  .service-strip { grid-template-columns: repeat(2, 1fr); margin-bottom: 3rem; }
  .service-item { min-height: 74px; padding: .8rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .product-card { padding: .55rem; }
  .product-title { font-size: .87rem; }
  .product-footer { display: block; }
  .product-price { margin-bottom: .55rem; }
  .card-consult { display: flex; width: 100%; }
  .single-product { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
  .single-media { min-height: 330px; }
  .notes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: .35rem; }
}
