/* ══════════════════════════════════════════════════════════════
   NEVEN — CSS customizado do tema Nuvemshop (Fase 1: base/header/footer)
   Portado de projetos/neven/site/style.css (design aprovado).
   Sobe em static/css/neven-custom.css e é chamado em layouts/layout.tpl.
   Convive com o CSS nativo do tema — não apaga nada, só sobrepõe.
   ══════════════════════════════════════════════════════════════ */

:root {
  --n-bg-light: #F0F0F0;
  --n-bg-card: #FFFFFF;
  --n-bg-dark: #000000;
  --n-bg-dark-alt: #1A1A1A;
  --n-text-dark: #000000;
  --n-text-muted: #666666;
  --n-text-light: #FFFFFF;
  --n-accent: #C9A961;
  --n-font-serif: 'Playfair Display', serif;
  --n-font-sans: 'Inter', sans-serif;
  --n-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── RESET LEVE / BASE ────────────────────────────── */
body {
  font-family: var(--n-font-sans);
  color: var(--n-text-dark);
  background-color: var(--n-bg-card);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ── CABEÇALHO PREMIUM (substitui a aparência do head-main nativo) ── */
.n-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 90px;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: var(--n-transition);
}
.n-header-logo { display: flex; align-items: center; }
.n-header-logo img { height: 56px; display: block; }
.n-header-nav-group { display: flex; align-items: center; gap: 40px; }

/* Reestiliza o menu nativo (nav-desktop-list) pro visual da Neven */
.n-header .nav-desktop-list {
  display: flex; gap: 40px; list-style: none; padding: 0; margin: 0;
}
.n-header .nav-desktop-list > li > a {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--n-text-muted);
  transition: color 0.3s;
  position: relative; padding-bottom: 4px;
}
.n-header .nav-desktop-list > li > a:hover { color: var(--n-text-dark); }

.n-header-icons { display: flex; gap: 20px; align-items: center; }
.n-header-icons .icon-inline { width: 18px; height: 18px; }
.n-header .badge {
  background: var(--n-text-dark); color: #fff;
  border-radius: 50%; font-size: 10px;
  min-width: 16px; height: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 3px; margin-left: -8px; margin-top: -8px; vertical-align: top;
}

/* ── RODAPÉ PREMIUM ESCURO ────────────────────────── */
.n-footer {
  background-color: var(--n-bg-dark);
  color: var(--n-text-light);
  padding: 100px 60px 40px;
}
.n-footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 80px;
  max-width: 1400px; margin-left: auto; margin-right: auto;
}
.n-footer-brand { display: flex; flex-direction: column; }
.n-footer-brand-logo img { height: 56px; width: fit-content; margin-bottom: 24px; filter: invert(1); }
.n-footer-brand p { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.8; max-width: 280px; }
.n-footer-col h4 {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--n-accent); margin-bottom: 24px;
}
.n-footer-col a, .n-footer-col span {
  display: block; font-size: 14px; color: rgba(255,255,255,0.4);
  margin-bottom: 12px; transition: color 0.3s;
}
.n-footer-col a:hover { color: #fff; }
.n-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  max-width: 1400px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 11px; color: rgba(255,255,255,0.35);
}
.n-footer-bottom a { color: rgba(255,255,255,0.5); }
.n-footer-bottom a:hover { color: #fff; }

/* ── PÁGINAS INSTITUCIONAIS + LOJA/PRODUTO (mesmo padrão do preview) ── */
.page-container, .n-page-container { max-width: 1200px !important; margin: 0 auto !important; padding: 80px 60px; min-height: 50vh; }
.page-title { font-family: var(--n-font-serif); font-size: 48px; font-weight: 700; margin-bottom: 40px; color: var(--n-text-dark); }
.page-content { font-size: 15px; line-height: 1.8; color: var(--n-text-muted); }
.page-content h2, .page-content h3 { font-family: var(--n-font-serif); color: var(--n-text-dark); margin-top: 40px; margin-bottom: 16px; }
.page-content h2 { font-size: 28px; }
.page-content h3 { font-size: 22px; }
.page-content p { margin-bottom: 24px; }
.page-content ul, .page-content ol { margin-bottom: 24px; padding-left: 24px; }
.page-content li { margin-bottom: 8px; }

/* ── HERO ──────────────────────────────────────────── */
.n-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 620px; background: var(--n-bg-dark); overflow: hidden; }
.n-hero-text { display: flex; flex-direction: column; justify-content: center; padding: 60px 100px; color: var(--n-text-light); }
.n-hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--n-accent); margin-bottom: 24px; }
.n-hero-title { font-family: var(--n-font-serif); font-size: 68px; font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 24px; color: #fff; }
.n-hero-title em { font-style: italic; font-weight: 400; color: #fff; }
.n-hero-sub { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 44px; max-width: 440px; }
.n-hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.n-btn-premium { background: #fff; color: var(--n-bg-dark); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; padding: 18px 44px; display: inline-block; border: 1px solid #fff; transition: var(--n-transition); }
.n-btn-premium:hover { background: transparent; color: #fff; }
.n-btn-outline-light { border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; padding: 18px 44px; display: inline-block; transition: var(--n-transition); }
.n-btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.n-hero-image { position: relative; overflow: hidden; background: #111; }
.n-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; min-height: 320px; }

/* ── TICKER ────────────────────────────────────────── */
.n-ticker-wrap { overflow: hidden; width: 100%; background: var(--n-bg-light); border-top: 1px solid rgba(0,0,0,0.04); border-bottom: 1px solid rgba(0,0,0,0.04); padding: 18px 0; }
.n-ticker { display: flex; width: 100%; overflow: hidden; }
.n-ticker-group { display: flex; flex-shrink: 0; align-items: center; gap: 100px; padding-right: 100px; animation: n-scroll-ticker 35s linear infinite; }
.n-ticker-group span { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.n-ticker-group span strong { color: var(--n-text-dark); font-weight: 700; }
@keyframes n-scroll-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ── BANNERS DE CAMPANHA ───────────────────────────── */
.n-campaign-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
.n-camp-banner { display: block; height: 480px; position: relative; overflow: hidden; background: #EFEFEF; }
.n-camp-banner img { width: 100%; height: 100%; object-fit: cover; transition: var(--n-transition); }
.n-camp-banner:hover img { transform: scale(1.03); }
.n-camp-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; color: #fff; }
.n-camp-subtitle { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--n-accent); margin-bottom: 8px; }
.n-camp-title { font-family: var(--n-font-serif); font-size: 34px; font-weight: 700; margin-bottom: 20px; color: #fff; }
.n-camp-link { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; border-bottom: 1px solid #fff; width: fit-content; padding-bottom: 4px; }

/* ── FILOSOFIA ─────────────────────────────────────── */
.n-philosophy { padding: 140px 60px; background-color: var(--n-bg-light); text-align: center; }
.n-philosophy-container { max-width: 860px; margin: 0 auto; }
.n-philosophy-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--n-text-muted); margin-bottom: 24px; display: block; }
.n-philosophy-title { font-family: var(--n-font-serif); font-size: 42px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 36px; color: var(--n-text-dark); }
.n-philosophy-desc { font-size: 15px; font-weight: 300; color: var(--n-text-muted); line-height: 1.8; }

/* ── STRIP DE DETALHES ─────────────────────────────── */
.n-strip-details { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--n-bg-card); border-bottom: 1px solid rgba(0,0,0,0.05); }
.n-strip-item { padding: 44px 60px; border-right: 1px solid rgba(0,0,0,0.05); }
.n-strip-item:last-child { border-right: none; }
.n-strip-title { font-family: var(--n-font-serif); font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.n-strip-desc { font-size: 13px; color: var(--n-text-muted); line-height: 1.55; }

/* ── VITRINE DE PRODUTOS (restyle do grid nativo) ──── */
.n-products-section { padding: 100px 60px; background-color: var(--n-bg-card); }
.n-section-header { margin-bottom: 60px; text-align: center; }
.n-section-header.n-align-left { text-align: left; }
.n-section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--n-text-muted); margin-bottom: 12px; display: block; }
.n-section-title { font-family: var(--n-font-serif); font-size: 38px; font-weight: 700; }
.n-section-title.n-align-left { text-align: left; }
.n-products-grid.row { max-width: 1400px; margin-left: auto; margin-right: auto; }
.n-products-grid .item-name { text-transform: none; letter-spacing: 0.01em; font-weight: 400; font-size: 14px; }
.n-products-grid .item-price { font-weight: 600; font-size: 13px; }
.n-products-grid .btn-add-to-cart, .n-products-grid .btn-primary { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; border-radius: 0; }

/* ── HISTÓRIA EDITORIAL ────────────────────────────── */
.n-editorial-story { display: grid; grid-template-columns: 1fr 1fr; background-color: var(--n-bg-light); min-height: 560px; border-top: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05); }
.n-story-image { overflow: hidden; }
.n-story-image img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.n-story-content { display: flex; flex-direction: column; justify-content: center; padding: 80px 100px; }
.n-story-label { font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--n-text-muted); margin-bottom: 24px; display: block; }
.n-story-title { font-family: var(--n-font-serif); font-size: 40px; font-weight: 700; line-height: 1.15; margin-bottom: 24px; }
.n-story-desc { font-size: 14px; color: var(--n-text-muted); line-height: 1.8; margin-bottom: 40px; }
.n-story-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid rgba(0,0,0,0.08); padding-top: 32px; }
.n-spec-item strong { display: block; font-family: var(--n-font-serif); font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.n-spec-item span { font-size: 11px; color: var(--n-text-muted); letter-spacing: 0.05em; }

/* ── LOOKBOOK ──────────────────────────────────────── */
.n-lookbook { padding: 100px 60px 0; background-color: var(--n-bg-card); }
.n-lookbook-title-area { margin-bottom: 50px; }
.n-lookbook-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 420px; gap: 6px; max-width: 1400px; margin: 0 auto; }
.n-lookbook-item { overflow: hidden; position: relative; background: #EFEFEF; }
.n-lookbook-item img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.2s ease; }
.n-lookbook-item:hover img { transform: scale(1.04); }
.n-lookbook-item:nth-child(1) { grid-column: 1 / 5; }
.n-lookbook-item:nth-child(2) { grid-column: 5 / 9; }
.n-lookbook-item:nth-child(3) { grid-column: 9 / 13; }
.n-lookbook-item:nth-child(4) { grid-column: 1 / 4; }
.n-lookbook-item:nth-child(5) { grid-column: 4 / 9; }
.n-lookbook-item:nth-child(6) { grid-column: 9 / 13; }

/* ── TECELAGEM ─────────────────────────────────────── */
.n-weave-specifications { padding: 100px 100px; background-color: var(--n-bg-light); }
.n-weave-container { max-width: 800px; margin: 0 auto; }
.n-weave-specs-list { margin-top: 50px; border-top: 1px solid var(--n-text-dark); }
.n-weave-row { display: grid; grid-template-columns: 1.5fr 2.5fr; padding: 26px 0; border-bottom: 1px solid rgba(0,0,0,0.08); font-size: 14px; line-height: 1.7; }
.n-weave-feature { font-family: var(--n-font-serif); font-size: 18px; font-weight: 700; color: var(--n-text-dark); }
.n-weave-value { color: var(--n-text-muted); font-weight: 300; }

/* ── COMUNIDADE & NEWSLETTER ───────────────────────── */
.n-community-section { display: grid; grid-template-columns: 1fr 1fr; background-color: var(--n-bg-light); border-top: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05); }
.n-community-col { padding: 90px 80px; display: flex; flex-direction: column; justify-content: center; }
.n-community-col.n-social-col { border-right: 1px solid rgba(0,0,0,0.05); }
.n-community-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--n-text-muted); margin-bottom: 20px; display: block; }
.n-community-title { font-family: var(--n-font-serif); font-size: 34px; font-weight: 700; line-height: 1.25; margin-bottom: 20px; color: var(--n-text-dark); }
.n-community-desc { font-size: 14px; color: var(--n-text-muted); line-height: 1.8; margin-bottom: 32px; max-width: 440px; }
.n-instagram-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--n-text-dark); }
.n-instagram-link:hover { color: var(--n-accent); }
.n-community-col .newsletter .input-append { display: flex; border-bottom: 1.5px solid var(--n-text-dark); padding-bottom: 8px; max-width: 440px; }

/* ── LOJA / CATEGORIA (grid real, casca visual nova) ── */
.n-shop-page .n-page-title { margin-bottom: 12px; }
.n-page-shop-desc { font-size: 15px; color: var(--n-text-muted); margin-bottom: 40px; max-width: 700px; }
.n-shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.n-filter-sidebar { font-family: var(--n-font-sans); }
.n-filter-sidebar .font-small.font-weight-bold,
.n-filter-sidebar div[class*="mb-3"] > div:first-child {
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--n-text-dark); border-bottom: 1px solid rgba(0,0,0,0.06); padding-bottom: 8px; margin-bottom: 16px !important;
}
.n-shop-grid-col .n-products-grid.row { margin: 0 -12px; }
/* Força enquadramento uniforme enquanto as fotos não ficam consistentes entre si */
.n-shop-grid-col .item-image,
.n-products-grid .item-image {
  aspect-ratio: 3/4; background: #F0F0F0; overflow: hidden;
}
.n-shop-grid-col .item-image img,
.n-products-grid .item-image img {
  object-fit: cover; object-position: center top; width: 100%; height: 100%;
}
.n-shop-grid-col .item-name { text-transform: none; letter-spacing: 0.01em; font-weight: 400; font-size: 14px; }
.n-shop-grid-col .item-price { font-weight: 600; font-size: 13px; }
.n-shop-grid-col .btn-add-to-cart, .n-shop-grid-col .btn-primary { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; border-radius: 0; }

/* ── PRODUTO INDIVIDUAL (galeria + formulário reais) ── */
.n-product-detail-page { padding: 60px 0 100px; }
.n-product-detail-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
.n-product-info-panel .js-product-name,
.n-product-info-panel h2 { font-family: var(--n-font-serif); font-size: 34px; font-weight: 700; line-height: 1.15; }
.n-product-info-panel .js-price-display,
.n-product-info-panel #price_display { font-size: 22px; font-weight: 600; color: var(--n-text-dark); }
.n-product-info-panel .btn-add-to-cart,
.n-product-info-panel .btn-primary {
  background: var(--n-bg-dark); color: #fff; border: 1px solid var(--n-bg-dark);
  text-transform: uppercase; letter-spacing: 0.15em; font-weight: 700; font-size: 11px;
  border-radius: 0; padding: 16px;
}
.n-product-info-panel .btn-add-to-cart:hover { background: transparent; color: var(--n-bg-dark); }
.n-product-description-full { max-width: 800px; margin: 60px auto 0; font-size: 14.5px; color: var(--n-text-muted); line-height: 1.8; }
.n-related-wrap { border-top: 1px solid rgba(0,0,0,0.05); margin-top: 40px; }
.n-related-wrap .item-name { text-transform: none; font-weight: 400; }

/* ── MOBILE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .n-header { padding: 0 24px; }
  .n-footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .n-header { height: 72px; }
  .n-header-logo img { height: 44px; }
  .n-header .nav-desktop-list { display: none; }
  .n-footer { padding: 56px 24px 32px; }
  .n-footer-top { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .n-footer-bottom { flex-direction: column; }
  .page-container, .n-page-container { padding: 40px 20px; }
  .page-title { font-size: 30px; }

  .n-hero { grid-template-columns: 1fr; min-height: auto; }
  .n-hero-image { height: 65vw; min-height: 240px; order: -1; }
  .n-hero-text { padding: 36px 24px 48px; }
  .n-hero-title { font-size: 34px; }
  .n-hero-cta { gap: 10px; }
  .n-btn-premium, .n-btn-outline-light { padding: 14px 24px; font-size: 10px; }

  .n-campaign-banners { grid-template-columns: 1fr; gap: 6px; padding: 6px; }
  .n-camp-banner { height: 240px; }
  .n-camp-title { font-size: 22px; }

  .n-philosophy { padding: 56px 24px; }
  .n-philosophy-title { font-size: 24px; }

  .n-strip-details { grid-template-columns: 1fr; }
  .n-strip-item { padding: 28px 24px; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.05); }

  .n-products-section { padding: 56px 20px; }
  .n-section-title { font-size: 24px; }

  .n-editorial-story { grid-template-columns: 1fr; min-height: auto; }
  .n-story-image { height: 260px; }
  .n-story-content { padding: 36px 24px; }
  .n-story-title { font-size: 26px; }
  .n-story-specs { gap: 8px; }

  .n-lookbook { padding: 56px 20px 0; }
  .n-lookbook-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 4px; }
  .n-lookbook-item:nth-child(n) { grid-column: auto; }

  .n-weave-specifications { padding: 56px 24px; }
  .n-weave-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }

  .n-community-section { grid-template-columns: 1fr; }
  .n-community-col { padding: 48px 24px; }
  .n-community-col.n-social-col { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.05); }
  .n-community-title { font-size: 24px; }

  .n-shop-layout { grid-template-columns: 1fr; }
  .n-filter-sidebar { display: none; }
  .n-product-detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .n-product-info-panel .js-product-name, .n-product-info-panel h2 { font-size: 26px; }
}
