/* ============================================================
   AYLA PETIT BABY — Design System (parte 1: base + home)
   Mobile-first · vanilla CSS
   ============================================================ */

:root {
  --color-primary: #B88ACB;
  --color-primary-strong: #9C6FB0;
  --color-primary-soft: #F3E9F6;
  --color-secondary: #A9C39B;
  --color-secondary-soft: #EFF5EB;
  --color-accent: #D18BB5;
  --color-background: #FFF9FC;
  --color-surface: #FFFFFF;
  --color-text: #493D47;
  --color-muted: #8A7B88;
  --color-border: #EFE3F2;
  --color-success: #6FA972;
  --color-warning: #C98A2C;
  --color-danger: #C96A6A;
  --color-white: #FFFFFF;
  --color-black: #2A1F29;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(73, 61, 71, .08);
  --shadow-md: 0 8px 24px rgba(73, 61, 71, .10);
  --shadow-lg: 0 18px 48px rgba(73, 61, 71, .16);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  --header-h: 64px;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background:
    radial-gradient(760px 460px at 100% 18%, rgba(243, 233, 246, .72), transparent 70%),
    radial-gradient(680px 420px at 0% 62%, rgba(239, 245, 235, .68), transparent 72%),
    var(--color-background);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0; color: var(--color-black); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-4); }

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; border-radius: var(--radius-sm); }

.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 2000; background: var(--color-black); color: #fff; padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); transition: top .2s; }
.skip-link:focus { top: var(--space-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 12px 22px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px; line-height: 1.2;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-align: center; min-height: 46px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-primary); color: var(--color-white); box-shadow: 0 8px 20px rgba(184, 138, 203, .35); }
.btn-primary:hover { background: var(--color-primary-strong); box-shadow: 0 10px 26px rgba(156, 111, 176, .4); }
.btn-secondary { background: var(--color-white); color: var(--color-primary-strong); border-color: var(--color-primary); }
.btn-secondary:hover { background: var(--color-primary-soft); }
.btn-dark { background: var(--color-black); color: var(--color-white); }
.btn-dark:hover { background: #433344; }
.btn-ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary-strong); }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; padding: 15px 30px; font-size: 16px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.badge-oferta { background: var(--color-danger); color: #fff; }
.badge-novidade { background: var(--color-primary); color: #fff; }
.badge-querido { background: var(--color-accent); color: #fff; }
.badge-esgotado { background: #E9E2EC; color: var(--color-muted); }
.badge-conforto { background: var(--color-secondary); color: #2d3a26; }

/* ---------- Top bar ---------- */
.topbar { background: var(--color-black); color: #F1E7F3; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: var(--space-5); min-height: 38px; overflow-x: auto; white-space: nowrap; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar b { color: var(--color-primary); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 249, 252, .82); backdrop-filter: blur(14px) saturate(1.12); -webkit-backdrop-filter: blur(14px) saturate(1.12); border-bottom: 1px solid rgba(255,255,255,.7); transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { background: rgba(255, 249, 252, .97); border-color: var(--color-border); box-shadow: 0 9px 26px rgba(73, 61, 71, .08); }
.header-inner { display: flex; align-items: center; gap: var(--space-3); min-height: var(--header-h); }
.header-logo { display: flex; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: .02em; color: var(--color-black); }
.header-logo img { width: 40px; height: 40px; object-fit: contain; }
.header-logo small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--color-muted); font-weight: 600; }

.header-search { flex: 1; max-width: 460px; margin-inline: auto; }
.search-box { position: relative; display: flex; align-items: center; }
.search-box input { width: 100%; height: 46px; padding: 0 var(--space-4) 0 44px; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-surface); transition: border-color .15s, box-shadow .15s; }
.search-box input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(184, 138, 203, .15); }
.search-box .icon { position: absolute; left: 16px; pointer-events: none; color: var(--color-muted); }

.header-actions { display: flex; align-items: center; gap: var(--space-1); }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-pill); color: var(--color-text); transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--color-primary-soft); color: var(--color-primary-strong); }
.cart-badge {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--color-primary); color: #fff; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.cart-badge[hidden] { display: none; }

/* ---------- Navigation ---------- */
.main-nav { display: none; border-top: 1px solid rgba(184, 138, 203, .12); background: rgba(255,255,255,.5); }
.main-nav .container { display: flex; align-items: center; justify-content: center; gap: var(--space-5); }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 12px 4px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--color-text); border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav-link:hover { color: var(--color-primary-strong); border-color: var(--color-primary); }

/* Mega menu */
.mega { position: absolute; left: 50%; transform: translateX(-50%) translateY(8px); top: 100%; min-width: 420px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; padding: var(--space-5); z-index: 990; }
.mega::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-title { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); margin-bottom: var(--space-3); }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2) var(--space-4); }
.mega a.mega-link { display: block; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 14px; color: var(--color-text); transition: background .12s, color .12s; }
.mega a.mega-link:hover { background: var(--color-primary-soft); color: var(--color-primary-strong); }
.mega .mega-foot { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }

/* ---------- Drawers ---------- */
.drawer { position: fixed; top: 0; bottom: 0; z-index: 1200; width: min(88vw, 360px); background: var(--color-surface); box-shadow: var(--shadow-lg); transition: transform .28s cubic-bezier(.4, 0, .2, 1); display: flex; flex-direction: column; }
.drawer-left { left: 0; transform: translateX(-102%); }
.drawer-right { right: 0; transform: translateX(102%); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--color-border); }
.drawer-head h3 { font-size: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: var(--space-4) var(--space-5); }
.drawer-foot { border-top: 1px solid var(--color-border); padding: var(--space-4) var(--space-5); background: var(--color-surface); }

.mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 6px; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--color-border); }
.mobile-nav a:hover { color: var(--color-primary-strong); }
.mobile-nav .sub { padding-left: var(--space-4); }
.mobile-nav .sub a { font-size: 14px; font-weight: 500; color: var(--color-muted); }

.overlay { position: fixed; inset: 0; background: rgba(42, 31, 41, .45); z-index: 1100; opacity: 0; visibility: hidden; transition: opacity .22s, visibility .22s; }
.overlay.open { opacity: 1; visibility: visible; }
body.locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(160deg, var(--color-primary-soft), #FDF1F8 55%, var(--color-secondary-soft)); overflow: hidden; }
.hero-inner { display: grid; gap: var(--space-5); padding: var(--space-7) 0 var(--space-6); align-items: center; }
.hero-copy { max-width: 560px; }
.hero-kicker { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--color-primary-strong); margin-bottom: var(--space-4); }
.hero h1 { font-size: clamp(34px, 6vw, 58px); letter-spacing: -.01em; margin-bottom: var(--space-4); }
.hero h1 em { font-style: italic; color: var(--color-primary-strong); }
.hero p.sub { font-size: clamp(16px, 2.4vw, 19px); color: var(--color-muted); margin-bottom: var(--space-6); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; background: var(--color-primary-soft); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .hero-chip { position: absolute; left: var(--space-4); bottom: var(--space-4); background: rgba(255,255,255,.9); backdrop-filter: blur(6px); padding: 10px 14px; border-radius: var(--radius); font-size: 12px; font-weight: 600; color: var(--color-black); }

/* ---------- Benefits ---------- */
.benefits { border-bottom: 1px solid var(--color-border); background: var(--color-surface); }
.benefits .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); padding-block: var(--space-5); }
.benefit { display: flex; gap: var(--space-3); align-items: flex-start; }
.benefit .ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--color-primary-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--color-primary-strong); }
.benefit b { display: block; font-size: 14px; color: var(--color-black); }
.benefit span { font-size: 13px; color: var(--color-muted); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-8); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.01em; }
.section-head .sub { color: var(--color-muted); margin-top: var(--space-2); max-width: 46ch; }
.section-link { font-size: 14px; font-weight: 600; color: var(--color-primary-strong); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.section-link:hover { text-decoration: underline; }
.section-alt { background: linear-gradient(110deg, rgba(255,255,255,.78), rgba(255,255,255,.56)); border-block: 1px solid rgba(184, 138, 203, .12); }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.cat-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card .thumb { aspect-ratio: 4 / 5; background: var(--color-primary-soft); overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-card:hover .thumb img { transform: scale(1.05); }
.cat-card .meta { position: absolute; inset-inline: 0; bottom: 0; padding: var(--space-4); background: linear-gradient(transparent, rgba(42,31,41,.55)); }
.cat-card .meta h3 { color: #fff; font-size: 20px; }
.cat-card .meta span { color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600; }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.product-card { position: relative; display: flex; flex-direction: column; background: rgba(255,255,255,.74); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.88); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 30px rgba(73, 61, 71, .07); transition: transform .24s cubic-bezier(.22,1,.36,1), box-shadow .24s ease, border-color .24s ease; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(184, 138, 203, .42); box-shadow: 0 20px 42px rgba(73, 61, 71, .14); }
.product-media { position: relative; aspect-ratio: 1 / 1.08; background: var(--color-primary-soft); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, opacity .25s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-media .badge { position: absolute; top: var(--space-3); left: var(--space-3); z-index: 2; }
.product-fav { position: absolute; top: var(--space-2); right: var(--space-2); z-index: 2; width: 38px; height: 38px; border-radius: var(--radius-pill); background: rgba(255,255,255,.9); display: inline-flex; align-items: center; justify-content: center; color: var(--color-muted); box-shadow: var(--shadow-sm); transition: color .15s, transform .15s; }
.product-fav:hover { color: var(--color-danger); transform: scale(1.08); }
.product-fav.active { color: var(--color-danger); }
.product-info { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.2)); }
.product-info .cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); font-weight: 600; }
.product-info h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--color-black); line-height: 1.35; }
.product-info h3 a:hover { color: var(--color-primary-strong); }
.product-price { display: flex; align-items: baseline; gap: var(--space-2); flex-wrap: wrap; }
.price-now { font-size: 18px; font-weight: 700; color: var(--color-black); }
.price-was { font-size: 13px; color: var(--color-muted); text-decoration: line-through; }
.price-off { font-size: 12px; font-weight: 700; color: var(--color-success); }
.product-installments { font-size: 12px; color: var(--color-muted); }
.product-swatches { display: flex; gap: 6px; margin-top: 2px; }
.swatch { width: 18px; height: 18px; border-radius: var(--radius-pill); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--color-border); }
.product-stock { font-size: 12px; font-weight: 600; }
.product-stock.ok { color: var(--color-success); }
.product-stock.zero { color: var(--color-danger); }
.product-add { margin-top: auto; padding-top: var(--space-3); }
.product-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chip { padding: 4px 10px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; color: var(--color-muted); background: var(--color-surface); }

/* ---------- Editorial ---------- */
.editorial { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; display: flex; align-items: center; color: #fff; background-color: var(--editorial-bg, var(--color-primary-strong)); }
.editorial__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial .art { position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb,var(--editorial-overlay,#493D47) calc(var(--editorial-overlay-opacity,.25)*100%),transparent),color-mix(in srgb,var(--editorial-overlay,#493D47) calc(var(--editorial-overlay-opacity,.25)*100%),transparent)),radial-gradient(circle at 85% 20%, rgba(255,255,255,.22), transparent 40%), radial-gradient(circle at 15% 80%, rgba(255,255,255,.14), transparent 45%); }
.editorial .inner { position: relative; padding: var(--space-7) var(--space-5); max-width: 520px; }
.editorial h2 { color: var(--editorial-title,#fff); font-size: clamp(28px, 5vw, 44px); margin-bottom: var(--space-3); }
.editorial p { color: var(--editorial-text,#fff); margin-bottom: var(--space-5); }
.editorial .btn { background: var(--editorial-button,#fff); color: var(--editorial-button-text,var(--color-primary-strong)); }
.editorial .btn:hover { background: var(--color-primary-soft); }

/* ---------- Social proof ---------- */
.social-proof { text-align: center; }
.social-proof h2 { font-size: clamp(24px, 4vw, 32px); }
.social-proof .handle { color: var(--color-primary-strong); font-weight: 700; }
.social-proof p { color: var(--color-muted); margin-top: var(--space-2); }
.social-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; gap: var(--space-4); }
.testi-card { background: var(--layout-card-color, var(--color-surface)); border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-5); }
.testi-card .stars { color: var(--color-warning); font-size: 15px; letter-spacing: 2px; margin-bottom: var(--space-3); }
.testi-card p { color: var(--color-text); }
.testi-card .who { margin-top: var(--space-3); font-size: 13px; font-weight: 700; color: var(--color-muted); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--color-black); color: #fff; }
.newsletter .container { display: grid; gap: var(--space-5); align-items: center; padding-block: var(--space-7); }
.newsletter h2 { color: #fff; font-size: clamp(24px, 4vw, 34px); }
.newsletter p { color: rgba(255,255,255,.75); }
.newsletter form { display: flex; flex-direction: column; gap: var(--space-3); }
.newsletter .field input { width: 100%; height: 52px; padding: 0 var(--space-4); border-radius: var(--radius-pill); border: 1px solid transparent; background: rgba(255,255,255,.12); color: #fff; }
.newsletter .field input::placeholder { color: rgba(255,255,255,.55); }
.newsletter .field input:focus { outline: none; border-color: var(--color-primary); background: rgba(255,255,255,.16); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-soft); border-top: 1px solid var(--color-border); }
.footer-grid { display: grid; gap: var(--space-6); padding-block: var(--space-7); grid-template-columns: 1fr; }
.footer-col h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); margin-bottom: var(--space-4); }
.footer-col ul li { margin-bottom: var(--space-2); }
.footer-col a { font-size: 14px; color: var(--color-text); }
.footer-col a:hover { color: var(--color-primary-strong); text-decoration: underline; }
.footer-brand .header-logo { margin-bottom: var(--space-3); }
.footer-brand p { font-size: 14px; color: var(--color-muted); max-width: 34ch; }
.footer-pay { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.footer-pay span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; background: var(--color-surface); border: 1px solid var(--color-border); padding: 6px 10px; border-radius: var(--radius-sm); }
.footer-bottom { border-top: 1px solid var(--color-border); padding-block: var(--space-4); text-align: center; font-size: 13px; color: var(--color-muted); }

/* ---------- Loading / toasts ---------- */
.spinner { width: 34px; height: 34px; border: 3px solid var(--color-border); border-top-color: var(--color-primary); border-radius: 50%; animation: spin .8s linear infinite; margin-inline: auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast-wrap { position: fixed; bottom: var(--space-5); left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: var(--space-2); width: min(92vw, 420px); }
.toast { background: var(--color-black); color: #fff; padding: 13px 18px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: var(--space-2); animation: toastIn .25s ease; }
.toast.success { background: var(--color-success); }
.toast.error { background: var(--color-danger); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.whatsapp-float { position: fixed; right: var(--space-4); bottom: var(--space-4); z-index: 950; width: 56px; height: 56px; border-radius: var(--radius-pill); background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .4); }
.whatsapp-float:hover { transform: scale(1.06); }

/* ---------- Animate on view ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Theme transition ---------- */
body { transition: background .3s ease; }

/* ---------- Boutique baby premium redesign ---------- */
body {
  background-color: var(--layout-background-color, #fbf6f3);
  background-image:
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)),
    var(--layout-background-image, none),
    radial-gradient(680px 460px at -8% 11%, rgba(232, 208, 220, .58), transparent 72%),
    radial-gradient(760px 520px at 108% 28%, rgba(214, 224, 238, .54), transparent 70%),
    radial-gradient(680px 460px at 48% 74%, rgba(246, 224, 211, .48), transparent 74%),
    linear-gradient(135deg, #fcf8f2 0%, #f8f2f5 46%, #f5f8f5 100%);
  /* A imagem enviada pelo painel é a segunda camada: preenche a viewport e não se repete. */
  background-repeat: no-repeat;
  background-size: auto, cover, auto, auto, auto, auto;
  background-position: center, center, center, center, center, center;
  background-attachment: scroll, fixed, scroll, scroll, scroll, scroll;
}
body::before, body::after { content: ''; position: fixed; pointer-events: none; z-index: -1; border-radius: 50%; filter: blur(3px); opacity: .55; }
body::before { width: 190px; height: 190px; left: -70px; top: 56%; background: radial-gradient(circle, rgba(195, 181, 223, .52) 0 4px, transparent 5px) 0 0 / 25px 25px; }
body::after { width: 420px; height: 420px; right: -180px; bottom: 6%; background: radial-gradient(ellipse at center, rgba(232, 194, 204, .42), transparent 67%); }

.site-header { background: rgba(255, 252, 248, .68); border-bottom-color: rgba(162, 127, 145, .16); }
.site-header.is-scrolled { background: rgba(255, 252, 248, .93); box-shadow: 0 14px 35px rgba(83, 58, 72, .09); }
.main-nav { background: rgba(255, 255, 255, .34); }
.btn-primary { background: linear-gradient(135deg, #ad7897 0%, #c992af 100%); box-shadow: 0 12px 26px rgba(173, 120, 151, .28); }
.btn-primary:hover { background: linear-gradient(135deg, #9e6a89 0%, #bd7f9f 100%); box-shadow: 0 16px 30px rgba(173, 120, 151, .36); }

.boutique-hero { position: relative; overflow: clip; padding: clamp(18px, 3vw, 42px) 0 clamp(38px, 5vw, 72px); }
.boutique-hero__stage { position: relative; isolation: isolate; display: grid; align-items: center; gap: clamp(24px, 4vw, 72px); min-height: min(690px, 73vh); padding: clamp(42px, 6vw, 84px); border: var(--hero-border-width, 1px) solid var(--hero-border, rgba(255,255,255,.82)); border-radius: var(--hero-radius, 36px); overflow: hidden; background: linear-gradient(116deg, rgba(255,252,247,.94) 0%, rgba(251,239,239,.84) 50%, rgba(227,235,242,.88) 100%); box-shadow: 0 30px 80px rgba(100, 71, 83, .13); }
.boutique-hero__stage::before { content: ''; position: absolute; z-index: -1; width: 540px; height: 540px; border-radius: 44% 56% 51% 49% / 57% 47% 53% 43%; right: -125px; top: -130px; background: linear-gradient(145deg, rgba(220,190,211,.48), rgba(205,218,234,.2)); transform: rotate(18deg); }
.boutique-hero__stage::after { content: ''; position: absolute; z-index: -1; width: 280px; height: 280px; left: 35%; bottom: -210px; border-radius: 50%; background: rgba(238, 209, 186, .35); filter: blur(12px); }
.boutique-hero__glow { position: absolute; width: 45vw; height: 45vw; max-width: 700px; max-height: 700px; top: -42%; left: -18%; border-radius: 50%; background: rgba(235, 207, 222, .35); filter: blur(35px); }
.boutique-hero__copy { position: relative; z-index: 1; max-width: 570px; }
.boutique-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(173,120,151,.24); border-radius: var(--radius-pill); background: rgba(255,255,255,.56); color: #9e6988; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.boutique-hero__overline { margin: 22px 0 8px; color: #907583; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.boutique-hero h1 { max-width: 10ch; color: var(--hero-title, #3f3038); font-size: clamp(44px, 5.2vw, 76px); letter-spacing: -.055em; line-height: .98; }
.boutique-hero h1 em { color: #ad7897; font-weight: 500; }
.boutique-hero__subtitle { max-width: 46ch; margin-top: 24px; color: var(--hero-subtitle, #76646d); font-size: clamp(16px, 1.45vw, 19px); line-height: 1.7; }
.boutique-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
.boutique-hero__actions .btn { padding-inline: 27px; background:var(--hero-button, var(--store-button)); color:var(--hero-button-text, var(--store-button-text)); }
.boutique-hero__text-link { color: #6d5260; font-size: 14px; font-weight: 800; border-bottom: 1px solid rgba(109,82,96,.36); padding-bottom: 4px; transition: color .2s ease, transform .2s ease; }
.boutique-hero__text-link:hover { color: #ad7897; transform: translateX(3px); }
.boutique-hero__promise { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 30px; color: #89737c; font-size: 12px; font-weight: 700; }
.boutique-hero__promise span { display: inline-flex; gap: 7px; align-items: center; }
.boutique-hero__visual { position: relative; min-height: 460px; }
.boutique-hero__arch { position: absolute; width: min(100%, 390px); height: 510px; right: 8%; bottom: -1px; overflow: hidden; border: 9px solid rgba(255,255,255,.88); border-radius: 210px 210px 28px 28px; background: #e7dce4; box-shadow: 0 25px 45px rgba(83,57,72,.19); }
.boutique-hero__arch::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(73,47,60,.18)); }
.boutique-hero__arch img, .boutique-hero__mini img { width: 100%; height: 100%; object-fit: cover; }
.boutique-hero__mini { position: absolute; z-index: 2; width: 170px; height: 210px; left: -3%; bottom: 46px; overflow: hidden; border: 7px solid rgba(255,255,255,.9); border-radius: 100px 100px 24px 24px; background: #e8d9dd; box-shadow: 0 20px 40px rgba(83,57,72,.16); transform: rotate(-7deg); }
.boutique-hero__seal { position: absolute; z-index: 3; top: 52px; right: 2%; display: grid; place-items: center; width: 126px; height: 126px; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; background: rgba(255,249,239,.92); box-shadow: 0 16px 36px rgba(83,57,72,.12); color: #aa7894; text-align: center; transform: rotate(10deg); }
.boutique-hero__seal span { font-family: var(--font-display); font-size: 13px; font-style: italic; }
.boutique-hero__seal strong { margin-top: -18px; font-size: 11px; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.boutique-hero__star { position: absolute; z-index: 3; color: #c8a362; animation: boutiqueTwinkle 3.6s ease-in-out infinite; }
.star-one { top: 80px; left: 17%; font-size: 29px; }.star-two { bottom: 20px; right: 2%; font-size: 20px; animation-delay: 1s; }
@keyframes boutiqueTwinkle { 50% { transform: scale(1.28) rotate(16deg); opacity: .58; } }

.section-alt { background: rgba(255,255,255,.30); border-block-color: rgba(182,144,166,.16); }
.product-grid { gap: clamp(14px, 2vw, 24px); }
.product-card { overflow: hidden; background: var(--layout-card-color, rgba(255,255,255,.48)); border: 1px solid rgba(255,255,255,.78); border-radius: 22px; box-shadow: 0 15px 35px rgba(93,65,79,.10); backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1); transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease; }
.product-card:hover { transform: translateY(-8px); border-color: rgba(201,146,175,.62); box-shadow: 0 27px 46px rgba(93,65,79,.17); }
.product-media { margin: 9px 9px 0; border-radius: 15px; background: linear-gradient(145deg, #f0dfe6, #e4ebf2); }
.product-media::after { content: ''; position: absolute; inset: 42% 0 0; pointer-events: none; background: linear-gradient(transparent, rgba(68,48,58,.12)); }
.product-media img { transition: transform .7s cubic-bezier(.22,1,.36,1); }.product-card:hover .product-media img { transform: scale(1.08); }
.product-info { padding: 18px; background: linear-gradient(135deg, rgba(255,255,255,.26), rgba(255,255,255,.08)); }
.product-card .product-add .btn { transform: translateY(2px); transition: transform .3s ease, box-shadow .3s ease; }.product-card:hover .product-add .btn { transform: translateY(0); box-shadow: 0 10px 20px rgba(173,120,151,.23); }

[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-stagger] > [data-reveal] { transition-delay: calc(var(--i, 0) * 85ms); }

@media (min-width: 768px) { .boutique-hero__stage { grid-template-columns: 1.05fr .95fr; } }
@media (max-width: 767px) { .topbar .container { min-height: 32px; justify-content: center; overflow: hidden; font-size: 11px; }.topbar span:not(:first-child) { display: none; }.header-inner { gap: 7px; }.header-logo { min-width: 126px; font-size: 16px; }.header-logo img { width: 34px; height: 34px; }.header-logo small { font-size: 7px; letter-spacing: .18em; }.header-actions a { display: none; }.header-actions { gap: 0; }.icon-btn { width: 39px; height: 42px; }.boutique-hero { padding: 0 0 32px; }.boutique-hero__stage { min-height: auto; padding: 43px 24px 28px; border-radius: 0 0 30px 30px; }.boutique-hero h1 { font-size: clamp(42px, 12vw, 58px); }.boutique-hero__visual { min-height: 355px; margin-top: 8px; }.boutique-hero__arch { width: 76%; height: 355px; right: 1%; border-width: 6px; border-radius: 170px 170px 20px 20px; }.boutique-hero__mini { width: 126px; height: 158px; left: 0; bottom: 27px; border-width: 5px; }.boutique-hero__seal { width: 96px; height: 96px; top: 15px; right: 1%; }.boutique-hero__seal span { font-size: 11px; }.boutique-hero__seal strong { font-size: 9px; }.star-one { top: 25px; left: 12%; }.star-two { bottom: 5px; right: 0; }.boutique-hero__actions { gap: 15px; }.boutique-hero__promise { margin-top: 24px; }.product-info { padding: 14px; }.product-media { margin: 6px 6px 0; } }
@media (prefers-reduced-motion: reduce) { .boutique-hero__star { animation: none; } [data-reveal] { opacity: 1; transform: none; transition: none; } }
