/* La Nuit Cosméticos — estilos do site */
@font-face {
  font-family: "Dr Sugiyama";
  src: url("/assets/fonts/dr-sugiyama.woff2") format("woff2");
  font-display: swap;
}

:root {
  --gold: #9d8b00;
  --gold-ink: #6f6200;
  --navy: #0b1430;
  --cream: #fdf3dc;
  --ink: #1d1e20;
  --muted: #5b5d63;
  --line: #e6e1d4;
  --sky: #060d29;
  --bg: #ffffff;
  --surface: #ffffff;
  --header-bg: rgba(255,255,255,.96);
  --hover: var(--cream);
  --field-line: #cfc9ba;
  --nav-ink: var(--gold-ink);
  --chip-on-bg: var(--navy);
  --chip-on-ink: #fff;
  --error: #b3261e;
  --accent: var(--gold);
  --accent-ink: var(--gold-ink);
  --link: var(--gold-ink);
  --tint: #fbf6ea;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 20, 48, .08);
  --font: "Montserrat", system-ui, sans-serif;
  --script: "Dr Sugiyama", "Montserrat", cursive;
}
[data-accent="hair"]    { --accent: #cb6d51; --accent-ink: #a14a30; --link: #a14a30; --tint: #f6e9df; }
[data-accent="skin"]    { --accent: #879de5; --accent-ink: #3f58ad; --link: #3f58ad; --tint: #eef1fb; --script-ink: #5570c8; }
[data-accent="make"]    { --accent: #fe7f9c; --accent-ink: #b8385a; --link: #b8385a; --tint: #fff0f3; --script-ink: #d0496e; }
[data-accent="essence"] { --accent: #662634; --accent-ink: #662634; --link: #662634; --tint: #f5eced; }

/* ---------- modo escuro (padrão do site; o botão no cabeçalho troca) ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  /* onde era branco no claro, vira azul mais claro; onde era bege, vira o azul do céu estrelado da home */
  --sky: #060d29;
  --bg: #111d49;
  --surface: #18285c;
  --header-bg: rgba(17,29,73,.94);
  --hover: #22346f;
  --cream: var(--sky);
  --ink: #eef0f7;
  --muted: #aeb4c8;
  --line: #2b3b72;
  --field-line: #3d4c80;
  --nav-ink: #e2cd4a;
  --chip-on-bg: #c9b52a;
  --chip-on-ink: #0b1430;
  --error: #ff9b91;
  --accent: #c9b52a;
  --link: #e2cd4a;
  --tint: var(--sky);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
:root[data-theme="dark"] [data-accent="hair"]    { --accent: #e08a6e; --link: #f0a58c; --tint: var(--sky); }
:root[data-theme="dark"] [data-accent="skin"]    { --script-ink: #a3b5f2; --accent: #a3b5f2; --link: #b7c6f7; --tint: var(--sky); }
:root[data-theme="dark"] [data-accent="make"]    { --script-ink: #ff94ad; --accent: #ff94ad; --link: #ffaabd; --tint: var(--sky); }
:root[data-theme="dark"] [data-accent="essence"] { --accent: #e0a9b6; --link: #ecbfca; --accent-ink: #8a3346; --tint: var(--sky); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.script { font-family: var(--script); font-weight: 400; color: var(--script-ink, var(--accent)); letter-spacing: .01em; }
.accent { color: var(--link); }
.center { text-align: center; }
.hint { font-size: .85rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.8em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent-ink); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem;
  text-decoration: none; transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn--lg { font-size: 1rem; padding: .95em 2.6em; }
.btn--sm { padding: .55em 1.1em; font-size: .75rem; min-height: 40px; }
.btn--block { width: 100%; }
.btn--whatsapp { background: #0b7a4b; }
.btn--ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { filter: none; background: color-mix(in srgb, var(--link) 10%, transparent); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 68px; height: 68px; object-fit: contain; }
.brand__name { font-size: 1.9rem; color: var(--gold); line-height: 1; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: 28px; align-items: center; }
.nav a, .nav__toggle { color: var(--nav-ink); text-decoration: none; font-weight: 500; background: none; border: 0; padding: 10px 0; cursor: pointer; }
.nav a:hover, .nav__toggle:hover { color: var(--ink); }
.nav__toggle::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.nav__group { position: relative; }
.nav__sub { position: absolute; top: 100%; left: -16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; min-width: 180px; display: none; }
.nav__sub a { display: block; padding: 8px 12px; border-radius: 8px; }
.nav__sub a:hover { background: var(--hover); }
.nav__group:hover .nav__sub, .nav__group.is-open .nav__sub { display: block; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 6px; color: var(--nav-ink); text-decoration: none; font-weight: 500; padding: 8px; }
.cart-btn svg { width: 26px; height: 26px; }
.cart-count { position: absolute; top: 0; left: 22px; background: var(--chip-on-bg); color: var(--chip-on-ink); font-size: .7rem; font-weight: 700; min-width: 19px; height: 19px; border-radius: 99px; display: grid; place-items: center; padding: 0 5px; }
.theme-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--nav-ink); cursor: pointer; padding: 0; }
.theme-btn:hover { background: var(--hover); }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn__moon { display: none; }
:root[data-theme="light"] .theme-btn__sun { display: none; }
:root[data-theme="light"] .theme-btn__moon { display: block; }
/* seletor de idioma: três siglas num trilho, no mesmo desenho do botão claro/escuro */
.lang-switch { display: flex; align-items: center; height: 40px; padding: 3px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); }
.lang-switch__opt { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 4px; border-radius: 99px; color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .06em; transition: background-color .15s ease, color .15s ease; }
.lang-switch__opt:hover { color: var(--nav-ink); background: var(--hover); }
.lang-switch__opt[aria-current] { background: var(--chip-on-bg); color: var(--chip-on-ink); }
.lang-switch__opt:focus-visible { outline-offset: 0; }
@media (max-width: 400px) {
  .site-header__actions { gap: 4px; }
  .lang-switch__opt { min-width: 28px; padding: 0 2px; }
  .cart-btn { padding: 8px 4px; }
}
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--nav-ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .cart-btn__label { display: none; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 16px 20px; display: none; max-height: calc(100vh - 72px); overflow: auto; }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .nav__toggle { display: block; width: 100%; text-align: left; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 14px; }
  .nav__toggle::after { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 42vh; display: grid; place-items: center; overflow: hidden; background: var(--navy); color: #fff; text-align: center; }
.hero--full { min-height: min(86vh, 760px); }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,20,48,.35), rgba(11,20,48,.55)); }
.hero__content { position: relative; padding: 64px 16px; }
.hero__title { font-size: clamp(3.6rem, 11vw, 8rem); margin: 0; line-height: 1.05; color: var(--accent); text-shadow: 0 2px 24px rgba(0,0,0,.35); }
[data-accent="essence"] .hero__title { color: #f3d9de; }
[data-accent="skin"] .hero__title { color: #c7d3fb; }
.hero__tagline { font-size: clamp(1.25rem, 3vw, 1.9rem); font-weight: 700; margin: .4em 0 1.4em; }
.hero__tagline em { font-style: normal; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .hero__media[autoplay], .footer-cta__media { display: none; } }

/* ---------- seções ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--first { padding-top: clamp(32px, 5vw, 56px); }
.section--cream { background: var(--cream); }
.section--tint { background: var(--tint); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head h1, .section-head h2 { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: .1em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.page-title { font-size: clamp(2.6rem, 6vw, 3.8rem); }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--reverse .split__text { order: 2; }
.split__text h2 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
.split__media img { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.split__media--logo img { aspect-ratio: 1; object-fit: contain; box-shadow: none; max-width: 340px; margin: auto; }
.split__media--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split__media--duo img:last-child { margin-top: 48px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__text { order: 0; }
  .split__media img { aspect-ratio: 4/3; }
  .split__media--duo img { aspect-ratio: 3/4; }
}
.feature-list { padding-left: 1.2em; margin: 0 0 1.6em; }
.feature-list li { margin-bottom: .8em; }
.feature-list li::marker { color: var(--accent); }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.pillar { background: var(--cream); border-radius: var(--radius); padding: 28px; }
.pillar h2, .pillar h3 { color: var(--link); font-size: 1.2rem; }
.pillar .sign { font-style: italic; color: var(--muted); margin: 0; }
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- linhas ---------- */
.lines-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.line-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; text-decoration: none; color: #fff; background: var(--navy); }
.line-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.line-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,20,48,0) 30%, rgba(11,20,48,.75) 58%, rgba(11,20,48,.96)); }
.line-card:hover img { transform: scale(1.05); }
.line-card__body { position: relative; z-index: 1; padding: 22px; display: grid; gap: 6px; }
.line-card__name { font-size: 3.1rem; line-height: 1.05; color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.6), 0 0 18px rgba(0,0,0,.55); padding-bottom: 8px; position: relative; }
.line-card__name::after { content: ""; position: absolute; left: 2px; bottom: 0; width: 56px; height: 3px; border-radius: 3px; background: var(--accent); }
[data-accent="essence"] .line-card__name::after { background: #e0a9b6; }
.line-card__tag { font-size: .92rem; opacity: .92; }
.line-card__cta { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
@media (max-width: 1000px) { .lines-grid { grid-template-columns: repeat(2, 1fr); } .line-card { min-height: 340px; } }
@media (max-width: 520px) { .lines-grid { grid-template-columns: 1fr; } .line-card { min-height: 300px; } }

/* ---------- produtos ---------- */
.product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.product-grid > .product-card { flex: 0 1 270px; min-width: 0; }
@media (max-width: 600px) { .product-grid { gap: 16px; } .product-grid > .product-card { flex: 0 1 calc(50% - 8px); } }
@media (max-width: 380px) { .product-grid > .product-card { flex-basis: 100%; } }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card__img { position: relative; display: block; aspect-ratio: 1; background: var(--cream); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.product-card__line { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--link); font-weight: 700; }
.product-card__name { font-size: 1.05rem; margin: 2px 0 0; }
.product-card__name a { color: var(--ink); text-decoration: none; }
.product-card__sub { font-size: .85rem; color: var(--muted); }
.product-card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price__now { font-weight: 700; font-size: 1.05rem; }
.price__old { color: var(--muted); font-size: .85rem; }
.price__unit { font-size: .8rem; color: var(--muted); }
.ribbon { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .05em; padding: 5px 10px; border-radius: 99px; z-index: 1; }
.ribbon--inline { position: static; display: inline-block; margin-bottom: 12px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 8px 16px; cursor: pointer; font-weight: 500; color: var(--ink); }
.chip.is-active { background: var(--chip-on-bg); color: var(--chip-on-ink); border-color: var(--chip-on-bg); }

/* ---------- página de produto ---------- */
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery__main { border-radius: var(--radius); overflow: hidden; background: var(--cream); aspect-ratio: 1; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumb { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; }
.gallery__thumb.is-active { border-color: var(--accent); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__name { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; margin-bottom: .1em; }
.product__sub { color: var(--muted); font-size: 1.1rem; margin-bottom: .6em; }
.product__price .price__now { font-size: 1.5rem; }
.variants { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.variants legend { font-weight: 600; margin-bottom: 8px; }
.variant { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.variant:has(input:checked) { border-color: var(--accent); background: var(--tint); }
.variant input { accent-color: var(--accent-ink); }
.buy { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 16px; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; border: 0; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1.2rem; }
.qty input { width: 48px; border: 0; text-align: center; background: var(--bg); color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.product__desc { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.product__desc h3 { font-size: 1.05rem; margin-top: 1.4em; }
.product__desc ul { padding-left: 1.2em; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; } .gallery { position: static; } }

/* ---------- carrinho / checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; }
.cart-item__name { font-weight: 600; margin: 0; }
.cart-item__name a { color: var(--ink); text-decoration: none; }
.cart-item__meta { font-size: .85rem; color: var(--muted); margin: 0 0 8px; }
.cart-item__right { text-align: right; display: grid; gap: 8px; justify-items: end; }
.cart-item .qty button { width: 34px; height: 34px; }
.cart-item .qty input { width: 36px; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .8rem; padding: 0; }
@media (max-width: 520px) { .cart-item { grid-template-columns: 64px 1fr; } .cart-item img { width: 64px; height: 64px; } .cart-item__right { grid-column: 1 / -1; grid-template-columns: auto auto auto; justify-content: space-between; align-items: center; } }
.cart-empty { text-align: center; padding: 48px 0; }
.summary { border-bottom: 1px solid var(--line); margin-bottom: 16px; padding-bottom: 8px; }
.summary__row { display: flex; justify-content: space-between; font-size: 1.1rem; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 500; font-size: .92rem; border: 0; padding: 0; }
.field input, .field textarea { border: 1px solid var(--field-line); border-radius: 10px; padding: 11px 12px; font-weight: 400; width: 100%; background: var(--bg); color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.field legend { margin-bottom: 6px; }
.radio { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; padding: 8px 0; cursor: pointer; }
.field .radio input { width: auto; margin-top: 5px; accent-color: var(--accent-ink); }
.form-error { color: var(--error); font-weight: 600; }
.checkout__form .btn { margin-top: 8px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 14px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); z-index: 80; transition: transform .25s ease; max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); }
.toast a { color: #ffe38a; font-weight: 700; white-space: nowrap; }

/* ---------- rodapé ---------- */
.footer-cta { position: relative; min-height: 320px; display: grid; place-items: center; overflow: hidden; background: var(--navy); text-align: center; }
.footer-cta__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.footer-cta__content { position: relative; padding: 48px 16px; }
.footer-cta__title { font-size: clamp(2.8rem, 8vw, 5rem); color: var(--gold); margin: 0 0 .3em; }
.footer-cta .btn { background: var(--gold); color: var(--navy); }
.site-footer { background: var(--navy); color: #d9dcea; }
:root[data-theme="dark"] .site-footer { background: #040920; }
:root[data-theme="dark"] .hero, :root[data-theme="dark"] .footer-cta { background: var(--sky); }
:root[data-theme="dark"] .toast { border: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding: 56px 0 32px; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #d9dcea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__brand { font-size: 2.6rem; color: var(--gold); margin: 0; line-height: 1.1; }
.site-footer__copy { text-align: center; font-size: .8rem; padding: 18px 16px 28px; margin: 0; border-top: 1px solid rgba(255,255,255,.1); }
@media (max-width: 820px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #0b7a4b; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 60; }
.wa-float svg { width: 30px; height: 30px; }
body.has-toast .wa-float { bottom: 88px; }

/* ---------- assinatura em destaque (páginas das linhas) ---------- */
.sub-feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  background: var(--surface); border-radius: 28px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--accent) 22%, transparent);
  max-width: 1040px; margin-inline: auto;
}
.sub-feature__media { display: block; min-height: 100%; background: var(--cream); }
.sub-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.sub-feature__body { padding: clamp(28px, 4.5vw, 56px); display: flex; flex-direction: column; align-items: flex-start; }
.sub-feature__kicker { color: var(--link); font-weight: 600; font-size: .95rem; margin: 0 0 .2em; }
.sub-feature__title { font-size: clamp(2.8rem, 5vw, 3.8rem); line-height: 1; margin: 0 0 .25em; }
.sub-feature__lead { font-size: 1.15rem; font-weight: 500; margin-bottom: 1.4em; }
.sub-feature__label { font-size: .95rem; font-weight: 600; color: var(--muted); margin: 0 0 .6em; }
.sub-feature__items { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.moon-list li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.moon-list li::before, .sub-nudge__moon { /* lua crescente: a noite de La Nuit */
  content: ""; flex: none; width: 13px; height: 13px; border-radius: 50%;
  box-shadow: 4px -3px 0 0 var(--accent); transform: translate(-3px, 2px);
}
.sub-feature__extra { font-size: .9rem; color: var(--muted); margin: -.4em 0 1.2em; }
.sub-feature__offer { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 20px; width: 100%; }
.sub-feature__price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; }
.sub-feature__now { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; line-height: 1; }
.sub-feature__unit { color: var(--muted); }
.sub-feature__compare { color: var(--muted); font-size: 1.05rem; margin: 0 0 4px; }
.sub-feature__save { display: table; margin: 0 auto; padding: 5px 14px; border-radius: 99px; font-weight: 600; font-size: .92rem;
  color: var(--link); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.sub-feature__cta { margin-bottom: 12px; }
.sub-feature .hint { margin: 0; }
@media (max-width: 820px) {
  .sub-feature { grid-template-columns: 1fr; border-radius: 22px; }
  .sub-feature__media img { aspect-ratio: 4/3; }
  .sub-feature__cta { width: 100%; }
}

/* ---------- avulsos discretos (abaixo da assinatura) ---------- */
.section--quiet { padding: clamp(40px, 6vw, 64px) 0; }
.quiet-head { text-align: center; margin: 0 auto 24px; max-width: 560px; }
.quiet-head h2 { font-size: 1.3rem; font-weight: 600; margin-bottom: .2em; }
.quiet-head p { color: var(--muted); margin: 0; }
.mini-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.mini-card { flex: 0 1 340px; min-width: 0; display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center;
  padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--surface) 55%, transparent); }
.mini-card__img img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; }
.mini-card__body { min-width: 0; display: grid; gap: 1px; }
.mini-card__name { font-size: .98rem; font-weight: 600; margin: 0; }
.mini-card__name a { color: var(--ink); text-decoration: none; }
.mini-card__sub { font-size: .8rem; color: var(--muted); }
.mini-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.mini-card__price { font-weight: 600; font-size: .95rem; }
@media (max-width: 420px) { .mini-card { flex-basis: 100%; } }

/* ---------- três assinaturas lado a lado (home e loja) ---------- */
.sub-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px);
  max-width: 1120px; margin-inline: auto;
}
.sub-card {
  display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0;
  background: var(--surface); border-radius: 24px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 20px 48px color-mix(in srgb, var(--accent) 20%, transparent);
}
.sub-card__media { display: block; background: var(--cream); }
.sub-card__media img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.sub-card__head, .sub-card__kit, .sub-card__offer { padding-inline: clamp(20px, 2.2vw, 28px); }
.sub-card__head { padding-top: 22px; }
.sub-card__kicker { color: var(--link); font-weight: 600; font-size: .88rem; margin: 0; }
.sub-card__title { font-size: clamp(2.6rem, 3.6vw, 3.1rem); line-height: 1.05; margin: .05em 0 .2em; }
.sub-card__title a { color: inherit; text-decoration: none; }
.sub-card__lead { font-weight: 500; margin: 0 0 1.1em; }
.sub-card__label { font-size: .88rem; font-weight: 600; color: var(--muted); margin: 0 0 .5em; }
.sub-card__kit .moon-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; font-size: .95rem; }
.sub-card__extra { font-size: .82rem; color: var(--muted); margin: -.3em 0 1em; }
.sub-card__offer { border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 18px; margin-inline: clamp(20px, 2.2vw, 28px); padding-inline: 0; align-self: end; }
.sub-card__price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; }
.sub-card__now { font-size: 1.9rem; font-weight: 700; line-height: 1; }
.sub-card__unit { color: var(--muted); font-size: .92rem; }
.sub-card__compare { color: var(--muted); font-size: 1rem; margin: 0 0 4px; }
.sub-card__save { display: table; margin: 0 auto; padding: 4px 12px; border-radius: 99px; font-weight: 600; font-size: .85rem;
  color: var(--link); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.sub-card__cta { margin: 0 clamp(20px, 2.2vw, 28px) clamp(20px, 2.2vw, 28px); }
.sub-grid__note { text-align: center; margin: 22px 0 0; }
@media (max-width: 960px) {
  .sub-grid { grid-template-columns: minmax(0, 520px); justify-content: center; }
  .sub-card { grid-row: auto; display: flex; flex-direction: column; }
}

/* ---------- loja: avulsos por linha ---------- */
.shop-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.shop-card {
  flex: 0 1 300px; min-width: 0; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 10px;
}
.shop-card__img { display: block; border-radius: 15px; overflow: hidden; background: var(--cream); }
.shop-card__img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.shop-card__body { padding: 16px 10px 8px; display: flex; flex-direction: column; flex: 1; }
.shop-card__line { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); font-weight: 500; }
.shop-card__line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.shop-card__name { font-size: 1.15rem; font-weight: 600; margin: 6px 0 0; }
.shop-card__name a { color: var(--ink); text-decoration: none; }
.shop-card__sub { font-size: .86rem; color: var(--muted); }
.shop-card__blurb { font-size: .9rem; margin: 10px 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.shop-card__price { font-weight: 700; font-size: 1.1rem; }
.sub-nudge {
  display: flex; align-items: center; gap: 16px; max-width: 780px; margin: 32px auto 0; padding: 16px 20px;
  border-radius: 18px; border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
.sub-nudge p { margin: 0; flex: 1; }
.sub-nudge .btn { flex: none; }
@media (max-width: 640px) {
  .shop-card { flex-basis: 100%; }
  .sub-nudge { flex-direction: column; align-items: flex-start; }
  .sub-nudge__moon { display: none; }
}

/* ---------- página de links (/links/) ---------- */
/* O topo é sempre "noite" (céu estrelado), nos dois modos, para o slogan em branco.
   Abaixo, o fundo segue o tema: bege dourado no claro, azul do céu no escuro. */
body.is-bare { min-height: 100vh; background: linear-gradient(180deg, var(--cream) 0%, #f6e7c4 100%); }
:root[data-theme="dark"] body.is-bare { background: var(--sky); }
.lt { min-height: 100vh; display: flex; flex-direction: column; }
.lt__tools { position: fixed; top: 14px; right: 14px; z-index: 5; display: flex; align-items: center; gap: 8px; }
.lt__sky {
  position: relative; text-align: center; color: #fff; padding: 56px 16px 72px;
  background: linear-gradient(180deg, rgba(6,13,41,.2) 0%, rgba(6,13,41,.55) 70%, rgba(6,13,41,.9) 100%),
              url("/assets/img/poster-9240561.webp") center 30% / cover no-repeat, var(--sky);
  border-radius: 0 0 50% 50% / 0 0 28px 28px;
}
:root[data-theme="dark"] .lt__sky { border-radius: 0; background: linear-gradient(180deg, rgba(6,13,41,.15) 0%, rgba(6,13,41,.5) 70%, var(--sky) 100%), url("/assets/img/poster-9240561.webp") center 30% / cover no-repeat, var(--sky); }
.lt__logo { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 4px; }
.lt__name { font-size: clamp(3.6rem, 15vw, 4.6rem); line-height: 1; margin: 0; color: #d9c43a; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.lt__slogan { font-size: clamp(1.9rem, 8vw, 2.3rem); line-height: 1.1; margin: 6px 0 0; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.lt__main { width: min(460px, 100% - 32px); margin: -36px auto 0; position: relative; flex: 1; display: flex; flex-direction: column; padding-bottom: 32px; }
.lt__main nav { width: 100%; }
.lt__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

/* botões simples: Loja (dourado), Sobre (contorno) e WhatsApp (verde) */
.lt-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 12px 22px;
  border-radius: 16px; text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .92rem;
  border: 1px solid transparent; transition: filter .15s ease, background-color .15s ease, border-color .15s ease;
}
.lt-btn svg { width: 22px; height: 22px; flex: none; }
.lt-btn--shop { background: linear-gradient(180deg, #8a7a00, var(--gold-ink)); color: #fff; box-shadow: 0 10px 24px rgba(111,98,0,.28), inset 0 1px 0 rgba(255,255,255,.22); }
:root[data-theme="dark"] .lt-btn--shop { background: linear-gradient(180deg, #ddc840, #c2ad22); color: var(--sky); box-shadow: 0 10px 28px rgba(201,181,42,.25), inset 0 1px 0 rgba(255,255,255,.35); }
.lt-btn--plain { background: var(--surface); color: var(--ink); border-color: var(--line); }
.lt-btn--plain svg { color: var(--nav-ink); }
.lt-btn--wa { background: #0b7a4b; color: #fff; box-shadow: 0 10px 24px rgba(11,122,75,.25); }
.lt-btn:hover { filter: brightness(1.07); }
.lt-btn--plain:hover { filter: none; border-color: var(--nav-ink); }

/* botões das linhas: a foto da home dentro do botão, como nos cartões de "Nossas Linhas" */
.lt-line {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 104px; padding: 16px 18px 16px 20px;
  border-radius: 20px; overflow: hidden; text-decoration: none; color: #fff; background: var(--navy);
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 12px 28px rgba(11,20,48,.22);
}
.lt-line__img { position: absolute; top: 0; right: 0; width: 68%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .4s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%); }
.lt-line::before { /* véu: escuro à esquerda (texto), transparente à direita (foto) */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8,14,40,.98) 0%, rgba(8,14,40,.92) 38%, rgba(8,14,40,.35) 72%, rgba(8,14,40,.1) 100%);
}
.lt-line:hover .lt-line__img { transform: scale(1.05); }
.lt-line[data-accent="hair"] .lt-line__img { object-position: center 56%; } /* mostra o rosto */
.lt-line[data-accent="make"] .lt-line__img { object-position: center 10%; } /* olho mais ao centro */
.lt-line__body { position: relative; z-index: 2; display: grid; gap: 4px; flex: 1; min-width: 0; }
.lt-line__name { font-size: 2.15rem; line-height: 1.05; color: #fff; padding-bottom: 7px; position: relative; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.lt-line__name::after { content: ""; position: absolute; left: 1px; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--accent); }
[data-accent="essence"] .lt-line__name::after { background: #e0a9b6; }
.lt-line__tag { font-size: .84rem; line-height: 1.4; color: rgba(255,255,255,.86); max-width: 24ch; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.lt-line__go { position: relative; z-index: 2; flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); color: #fff; }

.lt__foot { margin: auto 0 0; padding-top: 32px; text-align: center; color: var(--muted); font-size: .9rem; }

@media (prefers-reduced-motion: no-preference) {
  .lt__list li { animation: lt-rise .5s cubic-bezier(.2,.7,.2,1) both; }
  .lt__list li:nth-child(2) { animation-delay: .05s; } .lt__list li:nth-child(3) { animation-delay: .1s; }
  .lt__list li:nth-child(4) { animation-delay: .15s; } .lt__list li:nth-child(5) { animation-delay: .2s; }
  .lt__list li:nth-child(6) { animation-delay: .25s; } .lt__list li:nth-child(7) { animation-delay: .3s; }
}
@media (prefers-reduced-motion: reduce) { .lt-line__img { transition: none; } .lt-line:hover .lt-line__img { transform: none; } }
@keyframes lt-rise { from { opacity: 0; transform: translateY(10px); } }
