/*
Theme Name: Little Whisper
Theme URI: https://littlewhisper.com.br
Author: Little Whisper
Description: Tema premium para a marca de roupas infantis Little Whisper. Landing page em página única com suporte a WooCommerce, SEO otimizado e 100% em português.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: little-whisper
Tags: e-commerce, one-column, custom-colors
*/

:root {
  --gold: hsl(38, 50%, 45%);
  --gold-light: hsl(38, 40%, 60%);
  --gold-dark: hsl(38, 55%, 35%);
  --fg: hsl(0, 0%, 10%);
  --muted-fg: hsl(0, 0%, 42%);
  --bg: #ffffff;
  --surface: hsl(30, 10%, 97%);
  --surface-2: hsl(30, 8%, 96%);
  --border: hsl(30, 10%, 90%);
  --cream: hsl(30, 15%, 95%);
  --dark: hsl(0, 0%, 8%);
  --radius: 0.5rem;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .serif { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--surface); }

.kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.section-head p { color: var(--muted-fg); }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { background: rgba(255,255,255,0.6); color: var(--fg); border: 1px solid hsl(30, 10%, 80%); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn-dark { background: var(--dark); color: var(--cream); }
.btn-dark:hover { background: var(--gold-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
}
.site-logo img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { font-size: 0.9rem; font-weight: 500; color: var(--fg); transition: color 0.2s; }
.site-nav a:hover { color: var(--gold); }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; font-size: 1.6rem; line-height: 1; }

@media (max-width: 820px) {
  .nav-toggle-label { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
  }
  .site-nav a { padding: 1rem 1.25rem; width: 100%; border-top: 1px solid var(--border); }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* Hero — efeito claro: imagem esmaecida sob véu branco, texto escuro */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 25%;
  color: var(--fg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.78) 50%, rgba(255,255,255,0.62) 100%);
}
.hero-content { position: relative; max-width: 620px; padding: 5rem 0; }
.hero-feather { height: 30px; width: auto; margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 1.5rem; color: var(--fg); }
.hero h1 em { display: block; font-style: italic; color: var(--gold); }
.hero p { font-size: 1.1rem; color: hsl(0, 0%, 28%); margin-bottom: 1.25rem; max-width: 520px; }
.hero-tagline { font-size: 0.85rem; color: var(--muted-fg); margin-bottom: 2.25rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Grades de cards */
.grid { display: grid; gap: 1.5rem; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-5, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-5, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.card h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { font-size: 0.9rem; color: var(--muted-fg); }
.card-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: hsl(38, 50%, 45%, 0.1);
  color: var(--gold);
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Categorias */
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center top;
  color: #fff;
}
.category-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.05) 55%);
  transition: background 0.3s;
}
.category-body { position: relative; padding: 2rem; }
.category-body h3 { font-size: 1.6rem; margin-bottom: 0.5rem; color: #fff; }
.category-body p { font-size: 0.92rem; color: hsl(30, 15%, 85%); margin-bottom: 1rem; max-width: 380px; }
.category-body .explore { color: var(--gold-light); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.05em; }
.category-card:hover .explore { color: #fff; }

/* Produtos */
.product-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.product-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.product-body { padding: 1.25rem; text-align: center; }
.product-body h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; margin-bottom: 0.35rem; }
.product-price { color: var(--gold-dark); font-weight: 700; margin-bottom: 1rem; }
.product-body .btn { width: 100%; justify-content: center; padding: 0.7rem 1rem; }

/* Sobre */
.about { background: var(--dark); color: var(--cream); }
.about .kicker { color: var(--gold-light); }
.about h2 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
.about p { color: hsl(30, 10%, 75%); margin-bottom: 1.25rem; max-width: 720px; }
.about blockquote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold-light);
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin-top: 2rem;
}

/* Tecido & Modelagem */
.fabric-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .fabric-grid { grid-template-columns: 1fr; } }
.fabric-grid img { border-radius: var(--radius); }
.fabric-item { display: flex; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
.fabric-item:last-child { border-bottom: none; }
.fabric-item strong { display: block; font-size: 0.95rem; }
.fabric-item span { font-size: 0.88rem; color: var(--muted-fg); }
.fabric-dot { color: var(--gold); font-size: 1.2rem; line-height: 1.4; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  padding: 1.25rem 0;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1.25rem; color: var(--muted-fg); font-size: 0.95rem; }

/* CTA final */
.cta-final { background: var(--dark); color: var(--cream); text-align: center; }
.cta-final h2 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.cta-final p { color: hsl(30, 10%, 72%); margin-bottom: 2rem; }
.cta-guarantee { margin-top: 1.25rem; font-size: 0.85rem; color: var(--gold-light); letter-spacing: 0.04em; }

/* Rodapé */
.site-footer { background: hsl(0, 0%, 6%); color: hsl(30, 10%, 70%); padding: 4rem 0 2rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-logo img { height: 48px; width: auto; margin-bottom: 1rem; }
.footer-bottom {
  border-top: 1px solid hsl(0, 0%, 15%);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: hsl(0, 0%, 50%);
}
.footer-bottom .serif { font-style: italic; color: var(--gold-light); }

/* Páginas internas e 404 */
.page-content { max-width: 760px; margin: 0 auto; padding: 4rem 1.25rem; }
.page-content h1 { font-size: 2.2rem; margin-bottom: 1.5rem; }
.page-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.page-content p, .page-content li { margin-bottom: 1rem; color: hsl(0, 0%, 25%); }
.error-404 { text-align: center; padding: 8rem 1.25rem; }
.error-404 .code { font-family: var(--font-serif); font-size: 6rem; color: var(--gold); line-height: 1; margin-bottom: 1rem; }
.error-404 p { color: var(--muted-fg); margin-bottom: 2rem; }

/* WooCommerce básico */
.woocommerce-page .site-main { max-width: 1180px; margin: 0 auto; padding: 3rem 1.25rem; }
.woocommerce ul.products li.product .button { background: var(--gold); color: #fff; }
.woocommerce ul.products li.product .button:hover { background: var(--gold-light); }

/* Acessibilidade */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute !important;
}
:focus-visible { o